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