import type { Snippet } from 'svelte'; interface FormActionsProps { submitLabel?: string; cancelLabel?: string; /** Optional destructive action on the left (e.g. Delete) */ dangerLabel?: string; /** When omitted, inherits `loading` from nearest `
` context */ loading?: boolean; disabled?: boolean; /** Disable only the primary submit control (e.g. wizard validation) */ submitDisabled?: boolean; /** Stretch buttons on small screens */ fullWidth?: boolean; align?: 'start' | 'end' | 'between'; showCancel?: boolean; /** Hide the primary submit control (e.g. file-upload step that auto-advances). */ showSubmit?: boolean; /** * plain = bare row * bar = bordered footer chrome inside a card * sticky = pinned footer; place next to a `flex-1 overflow-y-auto` body */ variant?: 'plain' | 'bar' | 'sticky'; size?: 'sm' | 'md'; /** Hint text on the left (saved status, helper) */ hint?: string; class?: string; extra?: Snippet; onsubmit?: () => void; oncancel?: () => void; ondanger?: () => void; } declare const FormActions: import("svelte").Component; type FormActions = ReturnType; export default FormActions;