wuchale
Version:
Protobuf-like i18n from plain code
13 lines (12 loc) • 644 B
TypeScript
import type { AdapterArgs, Adapter, CodePattern, LoaderChoice } from "../adapters.js";
import { Transformer } from "./transformer.js";
export { Transformer };
export { parseScript, scriptParseOptions, scriptParseOptionsWithComments } from './transformer.js';
export declare const pluralPattern: CodePattern;
type LoadersAvailable = 'server' | 'vite';
export type VanillaArgs = AdapterArgs<LoadersAvailable>;
export declare function getDefaultLoaderPath(loader: LoaderChoice<LoadersAvailable>, bundle: boolean): string | {
client: string;
server: string;
} | null;
export declare const adapter: (args?: Partial<VanillaArgs>) => Adapter;