import type { DialogClassNames, DialogDefaults, DialogId, DialogSlot, StyleOptions } from './types'; /** * Style layers from widest to narrowest. confirmAlert keeps the v3 look unless the app sets * confirmAlert defaults, so app-wide unstyled or classNames never reach it by surprise. */ export declare function styleLayers(options: StyleOptions, legacy: boolean): StyleOptions[]; export declare function classFor(slot: DialogSlot, layers: readonly StyleOptions[], extra?: string): string | undefined; export type SlotProps = (slot: DialogSlot, extra?: string) => { className: string | undefined; 'data-slot': DialogSlot; }; export declare const slotsFor: (layers: readonly StyleOptions[]) => SlotProps; export declare const SlotContext: import("react").Context; export declare const useSlot: () => SlotProps; export declare const FrameContext: import("react").Context<{ id?: DialogId | undefined; titleId?: string | undefined; inBody?: boolean; countTitle?: (change: (count: number) => number) => void; }>; export declare function configureDialogs(defaults: DialogDefaults): void; export type { DialogClassNames };