import type { SrmI18n } from '../../utils/type';
import type { FormInstance } from 'ant-design-vue';
import type { CurrentRow } from '../edit-page-layout';
import type { RuleObject } from 'ant-design-vue/es/form';
import type { Payload } from './src/sale-template-types';
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
import QSaleTemplate from './src/sale-template.vue';
export * from './src/sale-template-types';
export { QSaleTemplate };
declare const _default: SFCWithInstall<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 _default;
