File size: 1,216 Bytes
bc20498 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
/// <reference types="svelte" />
import { type CreateSeparatorProps } from "@melt-ui/svelte";
export declare function setCtx(props: CreateSeparatorProps): {
updateOption: <K extends string, V extends unknown>(key: K, value: V | undefined) => void;
getAttrs: (part: "root") => Record<string, string>;
elements: {
root: import("@melt-ui/svelte/internal/helpers").MeltElement<[import("@melt-ui/svelte/internal/helpers").WithGet<import("svelte/store").Writable<import("@melt-ui/svelte/internal/types").Orientation>>, import("@melt-ui/svelte/internal/helpers").WithGet<import("svelte/store").Writable<boolean>>], import("svelte/action").Action<any, any, Record<never, any>>, ([$orientation, $decorative]: [import("@melt-ui/svelte/internal/types").Orientation, boolean]) => {
role: string;
'aria-orientation': "vertical" | undefined;
'aria-hidden': boolean;
'data-orientation': import("@melt-ui/svelte/internal/types").Orientation;
}, "separator">;
};
options: import("@melt-ui/svelte/internal/helpers").ToWritableStores<{
orientation: import("@melt-ui/svelte/internal/types").Orientation;
decorative: boolean;
}>;
};
|