import React from 'react'; import { FormState } from '../../../model'; interface useClientFnParams { state: any; setGlobalState: (val: any) => void; modalRef: any; onRemoveClient?: () => void; } declare const useClientFn: (_params: useClientFnParams) => { setClient: (client: Partial) => void; isWalkIn: boolean; handleSelectClient: (value: any) => Promise; menuChange: (e: any) => void; handleViewClient: () => void; menus: { key: string; label: any; }[]; handleCreateItem: (cb?: () => void) => void; getClients: ({ customer_id, customer_ids, ...resetParams }: { customer_id?: number | undefined; skip?: number | undefined; search?: string | undefined; with?: string[] | undefined; relation_form_id?: number | undefined; num?: number | undefined; customer_ids?: string[] | undefined; }, returnResult?: boolean) => Promise; params: { skip: number; num: number; total: number; search: string; with: string[]; relation_form_id: any; }; searchChange: (search: string) => void; loading: boolean; loadMore: React.JSX.Element | null; handleOpenClientModal: (val?: string) => void; getNickname: (item: any) => any; franchiseeLoading: number; }; export default useClientFn;