import { VNode } from 'vue';
import { Field, Path, BaseBagelField } from '../types/BagelForm';
export interface UseSchemaFieldOptions<T, SFP extends Path<T>> {
    mode?: 'form' | 'preview' | 'table';
    getFormData?: () => T;
    onUpdateModelValue?: (field: BaseBagelField<T, SFP>, value: any) => void;
    includeUnset?: boolean;
}
export declare function useSchemaField<T extends {
    [key: string]: any;
}>(optns: UseSchemaFieldOptions<T, Path<T>>): {
    renderField: (field: BaseBagelField<T, Path<T>>, slots?: BaseBagelField<T, Path<T>>["slots"]) => VNode | undefined;
    getComponent: (field: Field<T>) => any;
};
//# sourceMappingURL=useSchemaField.d.ts.map