import MagicString from "magic-string";
import { HookFilter } from "unplugin";

//#region packages/unplugin/transform.d.ts
interface Options {
  overrideIdFn?: (id: string | undefined, defaultMessage: string | undefined, description: string | undefined, filePath: string) => string;
  idInterpolationPattern?: string;
  removeDefaultMessage?: boolean;
  additionalComponentNames?: string[];
  additionalFunctionNames?: string[];
  ast?: boolean;
  preserveWhitespace?: boolean;
  flatten?: boolean;
  filter?: HookFilter;
}
declare function transform(code: string, id: string, options: Options): {
  code: string;
  map: ReturnType<MagicString["generateMap"]>;
} | undefined;
//#endregion
export { Options, transform };
//# sourceMappingURL=transform.d.ts.map