import { ButtonHTMLAttributes, CSSProperties, Dispatch, HTMLAttributes, ReactNode, SetStateAction } from '../../../../node_modules/.pnpm/react@19.1.1/node_modules/react';
export type AppShellState = "expanded" | "collapsed";
export type AppShellSide = "left" | "right";
export type AppShellPersistenceAdapter = {
read?: () => boolean | undefined;
write?: (open: boolean) => void;
};
export type AppShellProviderProps = Omit, "onChange"> & {
children: ReactNode;
defaultOpen?: boolean;
open?: boolean;
onOpenChange?: (open: boolean) => void;
keyboardShortcut?: string | null;
sidebarWidth?: string;
width?: string;
collapsedWidth?: string;
persistenceAdapter?: AppShellPersistenceAdapter;
};
export type AppShellContextValue = {
open: boolean;
state: AppShellState;
width: string;
collapsedWidth: string;
setOpen: Dispatch>;
toggleOpen: () => void;
};
export type AppShellStyleOptions = {
sidebarWidth?: string;
width?: string;
collapsedWidth?: string;
style?: CSSProperties;
};
export type AppShellLayoutProps = HTMLAttributes & {
sidebar?: ReactNode;
side?: AppShellSide;
};
export type SidebarInsetProps = HTMLAttributes;
export type SidebarPrimitiveProps = HTMLAttributes;
export type SidebarRailProps = ButtonHTMLAttributes;
//# sourceMappingURL=app-shell.types.d.ts.map