/**
 * Direction - RTL/LTR direction wrapper utility
 * @countermeasure/web-components/form/direction
 */
export type DirectionValue = 'ltr' | 'rtl' | 'auto';
export interface DirectionConfig {
    container: HTMLElement | string;
    direction?: DirectionValue;
    onChange?: (direction: string) => void;
}
export declare class Direction {
    private readonly container;
    private readonly config;
    private observer;
    constructor(config: DirectionConfig);
    /** Set the direction on the container */
    setDirection(dir: DirectionValue): void;
    /** Get the current computed direction */
    getDirection(): string;
    /** Clean up the mutation observer */
    destroy(): void;
    /** Observe changes to dir attribute on html or body elements */
    private observeRootChanges;
}
//# sourceMappingURL=index.d.ts.map