import type { RemoteForm, RemoteFormEnhanceCallback, RemoteFormInput } from '$app/server';
import type { StandardSchemaV1 } from 'runed/kit';
import { type Attachment } from 'svelte/attachments';
/**
* Enable preflight and run validation on input
* @deprecated
*/
export declare function useForm(remoteForm: RemoteForm, schema: StandardSchemaV1, debounceMs?: number): RemoteForm;
export declare function validationOnInput(remoteForm: RemoteForm, debounceMs?: number): Attachment;
type UseEnhanceCallbackOptions