import { App } from 'vue';
/**
 * 表单事件数据类型
 */
export interface FormSubmitData {
    name: string;
    data: any;
}
export interface FormFieldChangeData {
    fieldName: string;
    value: any;
    isValid: boolean;
}
export interface FormDialogEventData {
    dialogVisible?: boolean;
    dialogName?: string;
}
/**
 * 表单事件处理器类型定义
 */
export interface FormEventHandlers {
    onFormSubmit: (data: FormSubmitData) => Promise<void>;
    onFormReset: () => void;
    onFieldChange: (data: FormFieldChangeData) => void;
    onFormValidate: (errors: Record<string, string>) => void;
    onFormDialogClose: () => void;
    onFormDialogOpen: (data: FormDialogEventData) => void;
}
/**
 * 创建表单事件总线
 */
export declare const provideFormEvents: (handlers: any, app?: App) => void, useFormEvents: () => any;
