import { type ColumnDef } from '@feedmepos/ui-library';
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
import { type RecentPublish } from '@/api/adjustment-template';
export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"wastageTable", import("pinia")._UnwrapAll<Pick<{
    columnDefs: ColumnDef<{
        _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;
        }[];
    } & RevisionIdMeta>[];
    recentPublish: import("vue").Ref<{
        recentJob?: {
            id: string;
            businessId: string;
            outlets: string[];
            completed: string[];
            createdAt: string;
            updatedAt: string;
        } | null | undefined;
        publishedRevs?: Record<string, string> | null | undefined;
    }, RecentPublish | {
        recentJob?: {
            id: string;
            businessId: string;
            outlets: string[];
            completed: string[];
            createdAt: string;
            updatedAt: string;
        } | null | undefined;
        publishedRevs?: Record<string, string> | null | undefined;
    }>;
    templates: import("vue").Ref<{
        _rev: string;
        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;
        }[];
    }[], ({
        _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;
        }[];
    } & RevisionIdMeta)[] | {
        _rev: string;
        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;
        }[];
    }[]>;
    reasons: import("vue").Ref<{
        _rev?: string | null | undefined;
        updatedAt?: string | null | undefined;
        value: string[];
        _id: string;
    } | undefined, {
        _rev?: string | null | undefined;
        updatedAt?: string | null | undefined;
        value: string[];
        _id: string;
    } | undefined>;
    isReasonPublished: () => boolean;
    showReasonPublishDialog: () => void;
    loading: import("vue").Ref<boolean, boolean>;
    fetchTemplates: () => Promise<void>;
    loadTemplate: (templateId: string) => Promise<void>;
}, "loading" | "columnDefs" | "recentPublish" | "templates" | "reasons">>, Pick<{
    columnDefs: ColumnDef<{
        _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;
        }[];
    } & RevisionIdMeta>[];
    recentPublish: import("vue").Ref<{
        recentJob?: {
            id: string;
            businessId: string;
            outlets: string[];
            completed: string[];
            createdAt: string;
            updatedAt: string;
        } | null | undefined;
        publishedRevs?: Record<string, string> | null | undefined;
    }, RecentPublish | {
        recentJob?: {
            id: string;
            businessId: string;
            outlets: string[];
            completed: string[];
            createdAt: string;
            updatedAt: string;
        } | null | undefined;
        publishedRevs?: Record<string, string> | null | undefined;
    }>;
    templates: import("vue").Ref<{
        _rev: string;
        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;
        }[];
    }[], ({
        _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;
        }[];
    } & RevisionIdMeta)[] | {
        _rev: string;
        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;
        }[];
    }[]>;
    reasons: import("vue").Ref<{
        _rev?: string | null | undefined;
        updatedAt?: string | null | undefined;
        value: string[];
        _id: string;
    } | undefined, {
        _rev?: string | null | undefined;
        updatedAt?: string | null | undefined;
        value: string[];
        _id: string;
    } | undefined>;
    isReasonPublished: () => boolean;
    showReasonPublishDialog: () => void;
    loading: import("vue").Ref<boolean, boolean>;
    fetchTemplates: () => Promise<void>;
    loadTemplate: (templateId: string) => Promise<void>;
}, never>, Pick<{
    columnDefs: ColumnDef<{
        _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;
        }[];
    } & RevisionIdMeta>[];
    recentPublish: import("vue").Ref<{
        recentJob?: {
            id: string;
            businessId: string;
            outlets: string[];
            completed: string[];
            createdAt: string;
            updatedAt: string;
        } | null | undefined;
        publishedRevs?: Record<string, string> | null | undefined;
    }, RecentPublish | {
        recentJob?: {
            id: string;
            businessId: string;
            outlets: string[];
            completed: string[];
            createdAt: string;
            updatedAt: string;
        } | null | undefined;
        publishedRevs?: Record<string, string> | null | undefined;
    }>;
    templates: import("vue").Ref<{
        _rev: string;
        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;
        }[];
    }[], ({
        _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;
        }[];
    } & RevisionIdMeta)[] | {
        _rev: string;
        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;
        }[];
    }[]>;
    reasons: import("vue").Ref<{
        _rev?: string | null | undefined;
        updatedAt?: string | null | undefined;
        value: string[];
        _id: string;
    } | undefined, {
        _rev?: string | null | undefined;
        updatedAt?: string | null | undefined;
        value: string[];
        _id: string;
    } | undefined>;
    isReasonPublished: () => boolean;
    showReasonPublishDialog: () => void;
    loading: import("vue").Ref<boolean, boolean>;
    fetchTemplates: () => Promise<void>;
    loadTemplate: (templateId: string) => Promise<void>;
}, "fetchTemplates" | "loadTemplate" | "isReasonPublished" | "showReasonPublishDialog">>;
