export type TransitionCallback = () => void | Promise<void>;
export interface ViewTransitionOptions {
    skipTransition?: boolean;
    transitionName?: string;
    timeout?: number;
}
export declare function isViewTransitionsSupported(): boolean;
export interface ViewTransitionsConfig {
    enabled: boolean;
    defaultTimeout: number;
    debug: boolean;
}
export declare function configureViewTransitions(options: Partial<ViewTransitionsConfig>): void;
export declare function getViewTransitionsConfig(): ViewTransitionsConfig;
export declare function withViewTransition(callback: TransitionCallback, options?: ViewTransitionOptions): Promise<void>;
export declare function withViewTransitionImmediate(callback: TransitionCallback, options?: ViewTransitionOptions): Promise<void>;
export declare function clearTransitionQueue(): void;
export declare function getPendingTransitionCount(): number;
export declare function isTransitioning(): boolean;
export declare function setTransitionName(element: Element, name: string | null): void;
declare const _default: {
    isSupported: typeof isViewTransitionsSupported;
    configure: typeof configureViewTransitions;
    getConfig: typeof getViewTransitionsConfig;
    withTransition: typeof withViewTransition;
    withTransitionImmediate: typeof withViewTransitionImmediate;
    clearQueue: typeof clearTransitionQueue;
    getPendingCount: typeof getPendingTransitionCount;
    isTransitioning: typeof isTransitioning;
    setTransitionName: typeof setTransitionName;
};
export default _default;
//# sourceMappingURL=view-transitions.d.ts.map