import { FormMode } from '@/components/form/form-mode.enum';
import { type Ref } from 'vue';
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
import type { WastageTemplateDetailsProps, WastageTemplateDialogProps, WastageTemplateReasonProps } from './props';
type WastageTemplateDialogPropsWithEventBinding = WastageTemplateDialogProps & {
    'onUpdate:show'?(show: boolean): void;
    'onSubmitted'?(): void;
};
type WastageTemplateDetailsPropsWithEventBinding = WastageTemplateDetailsProps & {
    'onUpdate:show'?(show: boolean): void;
    'onAction:edit'?(): void;
};
type WastageTemplateReasonPropsWithEventBinding = WastageTemplateReasonProps & {
    'onUpdate:show'?(show: boolean): void;
    'onSubmitted'?(): void;
};
export declare const useWastageTemplateActions: import("pinia").StoreDefinition<"wastageTemplateAction", import("pinia")._UnwrapAll<Pick<{
    createTemplate: () => void;
    viewTemplate: (template: FdoAdjustmentTemplate) => void;
    updateTemplate: (template: FdoAdjustmentTemplate) => void;
    deleteTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
    unpublishTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onComplete: () => void) => void;
    duplicateTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onComplete: () => void) => void;
    exportTemplates: () => void;
    importTemplates: () => void;
    viewReason: () => void;
    templateDialogProps: Ref<{
        mode?: FormMode | undefined;
        modelValue?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }, WastageTemplateDialogPropsWithEventBinding | {
        mode?: FormMode | undefined;
        modelValue?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }>;
    templateDetailsProps: Ref<{
        template?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        'onAction:edit'?: (() => void) | undefined;
    }, WastageTemplateDetailsPropsWithEventBinding | {
        template?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        'onAction:edit'?: (() => void) | undefined;
    }>;
    templateReasonProps: Ref<{
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }, WastageTemplateReasonPropsWithEventBinding | {
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }>;
}, "templateDialogProps" | "templateDetailsProps" | "templateReasonProps">>, Pick<{
    createTemplate: () => void;
    viewTemplate: (template: FdoAdjustmentTemplate) => void;
    updateTemplate: (template: FdoAdjustmentTemplate) => void;
    deleteTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
    unpublishTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onComplete: () => void) => void;
    duplicateTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onComplete: () => void) => void;
    exportTemplates: () => void;
    importTemplates: () => void;
    viewReason: () => void;
    templateDialogProps: Ref<{
        mode?: FormMode | undefined;
        modelValue?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }, WastageTemplateDialogPropsWithEventBinding | {
        mode?: FormMode | undefined;
        modelValue?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }>;
    templateDetailsProps: Ref<{
        template?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        'onAction:edit'?: (() => void) | undefined;
    }, WastageTemplateDetailsPropsWithEventBinding | {
        template?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        'onAction:edit'?: (() => void) | undefined;
    }>;
    templateReasonProps: Ref<{
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }, WastageTemplateReasonPropsWithEventBinding | {
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }>;
}, never>, Pick<{
    createTemplate: () => void;
    viewTemplate: (template: FdoAdjustmentTemplate) => void;
    updateTemplate: (template: FdoAdjustmentTemplate) => void;
    deleteTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
    unpublishTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onComplete: () => void) => void;
    duplicateTemplate: (template: FdoAdjustmentTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onComplete: () => void) => void;
    exportTemplates: () => void;
    importTemplates: () => void;
    viewReason: () => void;
    templateDialogProps: Ref<{
        mode?: FormMode | undefined;
        modelValue?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }, WastageTemplateDialogPropsWithEventBinding | {
        mode?: FormMode | undefined;
        modelValue?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }>;
    templateDetailsProps: Ref<{
        template?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        'onAction:edit'?: (() => void) | undefined;
    }, WastageTemplateDetailsPropsWithEventBinding | {
        template?: {
            _rev?: string | null | undefined;
            updatedAt?: string | null | undefined;
            locations?: {
                inventory?: {
                    _id: string;
                    updatedAt: string;
                } | null | undefined;
                type: "restaurant" | "warehouse";
                name: string;
                acceptRequest: boolean;
                dbName: string;
                doc: {
                    _id: string;
                    businessId: string;
                    profile: {
                        code?: string | null | undefined;
                        url?: string | null | undefined;
                        description?: string | null | undefined;
                        _id?: string | null | undefined;
                        legalName?: string | null | undefined;
                        sstRegNo?: string | null | undefined;
                        discovery?: boolean | null | undefined;
                        coverPhoto?: string | null | undefined;
                        thumbnailPhoto?: string | null | undefined;
                        photos?: string[] | null | undefined;
                        operatingHours?: {
                            0: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            2: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            1: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            3: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            4: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            5: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                            6: {
                                hours: {
                                    end: string;
                                    start: string;
                                }[];
                                enable: boolean;
                            };
                        } | null | undefined;
                        tags?: string[] | null | undefined;
                        name: string;
                        address: {
                            coordinates?: number[] | null | undefined;
                            line2?: string | null | undefined;
                            state: string;
                            country: string;
                            line1: string;
                            city: string;
                            postcode: string;
                        };
                        email: string;
                        phoneNo: string;
                        regNo: string;
                    };
                };
            }[] | null | undefined;
            updatedBy?: {
                name: string;
                id: string;
            } | null | undefined;
            type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
            _id: string;
            name: string;
            items: {
                code?: string | null | undefined;
                disabledMeasurements?: string[] | null | undefined;
                type: "menu" | "recipe" | "sku";
                name: string;
                id: string;
            }[];
        } | undefined;
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        'onAction:edit'?: (() => void) | undefined;
    }>;
    templateReasonProps: Ref<{
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }, WastageTemplateReasonPropsWithEventBinding | {
        show?: boolean | undefined;
        'onUpdate:show'?: ((show: boolean) => void) | undefined;
        onSubmitted?: (() => void) | undefined;
    }>;
}, "createTemplate" | "viewTemplate" | "updateTemplate" | "deleteTemplate" | "duplicateTemplate" | "exportTemplates" | "importTemplates" | "unpublishTemplate" | "viewReason">>;
export {};
