UNPKG

2 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { Collapsible as ArkCollapsible } from "@ark-ui/react/collapsible";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useCollapsibleStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useCollapsibleStyles };
6export interface CollapsibleRootProviderBaseProps extends Assign<ArkCollapsible.RootProviderBaseProps, SlotRecipeProps<"collapsible">>, UnstyledProp {
7}
8export interface CollapsibleRootProviderProps extends HTMLChakraProps<"div", CollapsibleRootProviderBaseProps> {
9}
10export declare const CollapsibleRootProvider: import("react").ForwardRefExoticComponent<CollapsibleRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface CollapsibleRootBaseProps extends Assign<ArkCollapsible.RootBaseProps, SlotRecipeProps<"collapsible">>, UnstyledProp {
12}
13export interface CollapsibleRootProps extends HTMLChakraProps<"div", CollapsibleRootBaseProps> {
14}
15export declare const CollapsibleRoot: import("react").ForwardRefExoticComponent<CollapsibleRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const CollapsiblePropsProvider: React.Provider<CollapsibleRootBaseProps>;
17export interface CollapsibleTriggerProps extends HTMLChakraProps<"button", ArkCollapsible.TriggerBaseProps> {
18}
19export declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
20export interface CollapsibleContentProps extends HTMLChakraProps<"div", ArkCollapsible.ContentBaseProps> {
21}
22export declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
23export declare const CollapsibleContext: (props: ArkCollapsible.ContextProps) => import("react").ReactNode;
24export interface CollapsibleOpenChangeDetails extends ArkCollapsible.OpenChangeDetails {
25}