import { type VariantProps } from '@svelte-thing/component-utils'; import { type CreateRootProps as CreateUnstyledRootProps } from '@svelte-thing/primitives/field'; import type { Exact } from '@svelte-thing/type-utils'; export { type RootState, getRoot, setRoot } from '@svelte-thing/primitives/field/root'; export declare const fieldVariants: (props?: ({ orientation: "horizontal" | "vertical" | "responsive" | null | undefined; } & { class: import("svelte/elements").ClassValue | null | undefined; }) | undefined) => string; export interface CreateRootProps extends CreateUnstyledRootProps, VariantProps { } export declare function createRoot(props: Exact): { id: string; labelId: string; controlId: string; errorId: string; isDirty: boolean; isDisabled: boolean; isFilled: boolean; isFocused: boolean; isInvalid: boolean; isTouched: boolean; isValid: boolean; props: { id: string; } & { id: string; readonly class: string; 'data-slot': string; }; };