export type ToggleType = 'class' | 'attribute';
export type CleanupFn = () => void;
export declare function createReversionFn(element: HTMLElement, toggleType: ToggleType, identifier: string): () => void;
export declare function setupDurationReversion(element: HTMLElement, toggleType: ToggleType, identifier: string, duration: number): CleanupFn;
export declare function setupEventReversion(element: HTMLElement, toggleType: ToggleType, identifier: string, eventName: string): CleanupFn;
export interface TemporalModifierOptions {
    element: HTMLElement;
    toggleType: ToggleType;
    identifier: string;
    duration?: number;
    untilEvent?: string;
}
export declare function setupTemporalModifiers(options: TemporalModifierOptions): CleanupFn[];
export declare function setupTemporalModifiersForElements(elements: HTMLElement[], toggleType: ToggleType, identifier: string, duration?: number, untilEvent?: string): CleanupFn;
//# sourceMappingURL=temporal-modifiers.d.ts.map