export type Lang = 'TH' | 'EN';
export type MasterSortBy = 'itemCode' | 'itemValue';
export interface StaticMasterLikeProps {
    sortBy?: MasterSortBy;
    showCode?: boolean;
    groupKey: string;
    itemCodes?: string[];
    lang?: Lang;
    fields?: Array<string | object>;
    noDataText?: string;
    filterText?: string;
    waitForFilter?: boolean;
    waitForFilterText?: string;
    cache?: boolean | number;
    statusField?: string;
    activeValue?: any;
    hideInactiveInList?: boolean;
    preventSelectingInactive?: boolean;
}
export interface MasterLikeProps extends StaticMasterLikeProps {
    meilisearch?: boolean;
}
export declare function useLookupListMaster(props: MasterLikeProps): {
    computedModelName: import("vue").ComputedRef<string>;
    computedModelBy: import("vue").ComputedRef<Record<string, any>>;
    computedModelSelectedItemBy: import("vue").ComputedRef<{
        groupKey: string;
    }>;
    computedFields: import("vue").ComputedRef<(string | object)[]>;
    itemTitleField: import("vue").ComputedRef<"itemValue" | "itemValueAlternative">;
    computedNoDataText: import("vue").ComputedRef<string | undefined>;
    computedSortBy: import("vue").ComputedRef<string[]>;
    formatItemTitle: (item: any) => string;
};
