import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; export type CarbonToolbarContext = { overflowVisible: import("svelte/store").Writable; setOverflowVisible: (visible: boolean) => void; batchActionsActive: import("svelte/store").Writable; }; type $RestProps = SvelteHTMLElements["section"]; type $Props = { /** * Specify the toolbar size. * If unset, the size is inherited from the parent `DataTable` * ("xs" for "compact", "sm" for "short", "default" otherwise). * @default undefined */ size?: "xs" | "sm" | "default"; /** * Specify the ARIA label for the toolbar. * @default "data table toolbar" */ ariaLabel?: string; children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type ToolbarProps = Omit<$RestProps, keyof $Props> & $Props; export default class Toolbar extends SvelteComponentTyped< ToolbarProps, Record, { default: Record } > {}