import { type Directive } from 'vue'; import type { FintI18n } from '../core'; export type VTDirectiveValue = string | { path: string; params?: Record; }; export interface VTDirectiveModifiers { once?: boolean; preserve?: boolean; } /** * Create v-t directive. * * Reactive: element text is re-rendered on locale change and when * lazily loaded blocks arrive (via a per-element watchEffect). * * Modifiers: * - `.once`: render only once, no reactivity * - `.preserve`: keep current text if key not found */ export declare function createVTDirective(i18n: FintI18n): Directive;