import * as React from "react"; interface UseCardCollapseInput { initialCollapsed?: boolean; initialHeight?: number; initialHeightRatio?: number; minHeight?: number; expandedMinHeight?: number; fixedCollapsed?: boolean; clearStyleOnExpand?: boolean; storageKey: string; } /** * Enables panel collapse/expand and vertical resize using the panel's `.card-strip`. * * Example: * useCardCollapse({ * storageKey: "pages:editor:metadata:actions:collapse", * initialCollapsed: false, // default false * initialHeight: 240, // default 240px * initialHeightRatio: 0.4, // optional (0..1), e.g. 40% of parent * minHeight: 48, // default 48px * expandedMinHeight: 120, // default 120px * fixedCollapsed: false, // default false * clearStyleOnExpand: true, // default false * }) */ export declare const useCardCollapse: (input: UseCardCollapseInput) => { panelRef: React.RefObject; }; export {};