import { ShallowRef } from 'vue';
import { FormModalInstance } from './useCrudPage';
import { ModifyArgs } from './useForm';
export interface UseSingleFormModalReturnType<T extends FormModalInstance> {
    formRef: ShallowRef<T | undefined>;
    open: () => void;
    edit: (...args: ModifyArgs) => void;
}
export declare const useSingleFormModal: <T extends FormModalInstance>() => UseSingleFormModalReturnType<T>;
