import type { SrmI18n } from '../../../utils/type';
import type { Payload } from './sale-template-types';
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref } from 'vue';
import type { RuleObject, FormInstance } from 'ant-design-vue/es/form';
import type { CurrentRow } from '../../edit-page-layout';
declare const _sfc_main: DefineComponent<{
    readonly url: {
        readonly type: PropType<string>;
        readonly default: "";
    };
    readonly businessType: {
        readonly type: PropType<string>;
        readonly default: "";
    };
    readonly elsAccount: {
        readonly type: PropType<string>;
        readonly default: "";
    };
    readonly modelValue: {
        readonly type: PropType<boolean>;
        readonly default: false;
    };
    readonly 'onUpdate:modelValue': {
        type: PropType<((modelValue: boolean) => void) | ((modelValue: boolean) => void)[]>;
        default: unknown;
    };
    readonly success: {
        type: PropType<((payload: Payload) => void) | ((payload: Payload) => void)[]>;
        default: unknown;
    };
    readonly ok: {
        type: PropType<(() => void) | (() => void)[]>;
        default: unknown;
    };
}, {
    classes: ComputedRef<{
        [key: string]: string | boolean;
    }>;
    modelValue: Ref<boolean>;
    title: string;
    rules: Record<string, RuleObject[]>;
    formState: {
        purchaseName: string;
        elsAccount: string;
        id: string;
    };
    options: Ref<CurrentRow[]>;
    tempOptions: Ref<CurrentRow[]>;
    formRef: Ref<FormInstance | undefined>;
    srmI18n: SrmI18n;
    handleAccountChange: (value: string) => void;
    handleCancel: () => void;
    handleOk: () => void;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("success" | "ok" | "update:modelValue")[], "success" | "ok" | "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
    readonly url: {
        readonly type: PropType<string>;
        readonly default: "";
    };
    readonly businessType: {
        readonly type: PropType<string>;
        readonly default: "";
    };
    readonly elsAccount: {
        readonly type: PropType<string>;
        readonly default: "";
    };
    readonly modelValue: {
        readonly type: PropType<boolean>;
        readonly default: false;
    };
    readonly 'onUpdate:modelValue': {
        type: PropType<((modelValue: boolean) => void) | ((modelValue: boolean) => void)[]>;
        default: unknown;
    };
    readonly success: {
        type: PropType<((payload: Payload) => void) | ((payload: Payload) => void)[]>;
        default: unknown;
    };
    readonly ok: {
        type: PropType<(() => void) | (() => void)[]>;
        default: unknown;
    };
}>> & {
    onOk?: ((...args: any[]) => any) | undefined;
    onSuccess?: ((...args: any[]) => any) | undefined;
    "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {
    readonly url: string;
    readonly success: ((payload: Payload) => void) | ((payload: Payload) => void)[];
    readonly ok: (() => void) | (() => void)[];
    readonly businessType: string;
    readonly elsAccount: string;
    readonly 'onUpdate:modelValue': ((modelValue: boolean) => void) | ((modelValue: boolean) => void)[];
    readonly modelValue: boolean;
}, {}>;
export default _sfc_main;
