import { DrawerRootProps } from '../drawer.types';
/**
 * Context value containing drawer configuration passed from Root to child components
 */
export type DrawerContextValue = DrawerRootProps & {
    /**
     * Internal flag indicating whether the drawer has a Drawer.Trigger component.
     * Used by DrawerContent to determine whether DialogTrigger is managing state.
     */
    hasDrawerTrigger?: boolean;
};
export declare const DrawerContext: import('react').Context<DrawerContextValue | undefined>;
/**
 * Hook to access drawer configuration from DrawerContext
 * @returns Drawer configuration from context
 * @throws Error if used outside of Drawer.Root
 */
export declare const useDrawerRootContext: () => DrawerContextValue;
/**
 * Provider component that passes drawer configuration down to child components
 */
export declare const DrawerProvider: ({ children, value, }: {
    children: React.ReactNode;
    value: DrawerContextValue;
}) => import("react/jsx-runtime").JSX.Element;
