import type { Handle } from "@sveltejs/kit"; import type { I18nConfig } from "../adapter.js"; export type HandleOptions = { /** * Which placeholder to find and replace with the language tag. * Use this placeholder as the lang atrribute in your `src/app.html` file. * * * @default "%paraglide.lang%" * * @example * ```html * * * ``` * ```ts * { langPlaceholder: "%paraglide.lang%" } * ``` * */ langPlaceholder?: string; /** * Which placeholder to find and replace with the text-direction of the current language. * * @default "%paraglide.textDirection%" * * @example * ```html * * * ``` * ```ts * { textDirectionPlaceholder: "%paraglide.textDirection%" } * ``` */ textDirectionPlaceholder?: string; }; export declare const createHandle: (i18n: I18nConfig, options: HandleOptions) => Handle; declare global { namespace App { interface Locals { paraglide: { lang: string; textDirection: "ltr" | "rtl"; }; } } } //# sourceMappingURL=handle.d.ts.map