import { Context } from '../common/types'; import { Ref, Slot, VNode } from 'vue'; export interface EditOptions { title?: string; defaultValues?: Record; defaultRules?: Record; renderers?: Record; disabled?: boolean; onBeforeSave?: (params: any) => Promise; onAfterSave?: (params: any) => Promise; autoClose?: boolean; } export declare const useRecordActions: ({ render, reload, bindColumns, t, data, }: Pick & { data: Ref; }) => { edit: (id: number | undefined, options?: EditOptions) => any; view: (id: number, options?: Pick) => any; create: (options?: Pick) => any; open: (options: { title: string; modalClass?: string; bodyClass?: string; style?: string; content: string | VNode | (() => VNode); } & Parameters[0]) => void; };