///
import type { MeltActionReturn } from '../../internal/types.js';
import type { ToolbarEvents } from './events.js';
import type { CreateToolbarGroupProps, CreateToolbarProps, ToolbarGroupItemProps, ToolbarGroupType } from './types.js';
export declare const createToolbar: (props?: CreateToolbarProps) => {
elements: {
root: import("../../internal/helpers/index.js").MeltElement>, import("svelte/action").Action>, ($orientation: import("../../internal/types.js").Orientation) => {
readonly role: "toolbar";
readonly 'data-orientation': import("../../internal/types.js").Orientation;
}, string>;
button: import("../../internal/helpers/index.js").MeltElement MeltActionReturn, () => {
readonly role: "button";
readonly type: "button";
}, string>;
separator: import("../../internal/helpers/index.js").MeltElement>, import("svelte/action").Action>, ($orientation: import("../../internal/types.js").Orientation) => {
readonly role: "separator";
readonly 'data-orientation': "horizontal" | "vertical";
readonly 'aria-orientation': "horizontal" | "vertical";
}, string>;
link: import("../../internal/helpers/index.js").MeltElement MeltActionReturn, () => {
readonly role: "link";
}, string>;
};
builders: {
createToolbarGroup: (props?: CreateToolbarGroupProps | undefined) => {
elements: {
group: import("../../internal/helpers/index.js").MeltElement>, import("svelte/action").Action>, ($orientation: import("../../internal/types.js").Orientation) => {
readonly role: "group";
readonly 'data-orientation': import("../../internal/types.js").Orientation;
}, string>;
item: import("../../internal/helpers/index.js").MeltElement<[import("../../internal/helpers/index.js").WithGet>, import("../../internal/helpers/index.js").WithGet>, {
update: (updater: import("svelte/store").Updater, sideEffect?: ((newValue: string | string[] | undefined) => void) | undefined) => void;
set: (this: void, value: string | string[] | undefined) => void;
subscribe(this: void, run: import("svelte/store").Subscriber, invalidate?: import("svelte/store").Invalidator | undefined): import("svelte/store").Unsubscriber;
get: () => string | string[] | undefined;
destroy?: (() => void) | undefined;
}, import("../../internal/helpers/index.js").WithGet>], (node: HTMLElement) => MeltActionReturn, ([$disabled, $type, $value, $orientation]: [boolean, "single" | T, string | string[] | undefined, import("../../internal/types.js").Orientation]) => (props: ToolbarGroupItemProps) => {
readonly disabled: true | undefined;
readonly pressed: boolean;
readonly 'data-orientation': import("../../internal/types.js").Orientation;
readonly 'data-disabled': true | undefined;
readonly 'data-value': string;
readonly 'data-state': "on" | "off";
readonly 'aria-checked': boolean | undefined;
readonly 'aria-pressed': boolean | undefined;
readonly type: "button";
readonly role: "radio" | undefined;
readonly 'data-melt-toolbar-item': "";
}, string>;
};
states: {
value: {
update: (updater: import("svelte/store").Updater, sideEffect?: ((newValue: string | string[] | undefined) => void) | undefined) => void;
set: (this: void, value: string | string[] | undefined) => void;
subscribe(this: void, run: import("svelte/store").Subscriber, invalidate?: import("svelte/store").Invalidator | undefined): import("svelte/store").Unsubscriber;
get: () => string | string[] | undefined;
destroy?: (() => void) | undefined;
};
};
helpers: {
isPressed: import("svelte/store").Readable<(itemValue: string) => boolean>;
};
options: import("../../internal/helpers/index.js").ToWritableStores<{
defaultValue?: (T extends "single" ? string : string[]) | undefined;
value?: import("svelte/store").Writable | undefined;
onValueChange?: import("../../internal/helpers/index.js").ChangeFn | undefined;
type: "single" | T;
disabled: boolean;
}>;
};
};
options: import("../../internal/helpers/index.js").ToWritableStores<{
loop: boolean;
orientation: import("../../internal/types.js").Orientation;
}>;
};