UNPKG

@melt-ui/svelte

Version:
9 lines (8 loc) 738 B
/// <reference types="svelte" /> import type { MeltActionReturn } from '../../internal/types.js'; import type { LabelEvents } from './events.js'; export declare function createLabel(): { elements: { root: import("../../internal/helpers/index.js").MeltElement<import("svelte/store").Stores | undefined, (node: HTMLElement) => MeltActionReturn<LabelEvents['root']>, (() => Record<string, any> | ((...args: any[]) => Record<string, any>)) | ((values: any) => Record<string, any> | ((...args: any[]) => Record<string, any>)) | ((values: any[]) => Record<string, any> | ((...args: any[]) => Record<string, any>)) | ((values: [any, ...any[]]) => Record<string, any> | ((...args: any[]) => Record<string, any>)), "label">; }; };