import { FamilyMemberBE } from "../../type"; import { type RowAction, type TableRow } from "@appcorp/shadcn/components/enhanced-table"; export declare const FAMILY_MEMBER_DRAWER: { readonly FILTER_DRAWER: string; readonly FORM_DRAWER: string; readonly MORE_ACTIONS_DRAWER: string; readonly VIEW_DRAWER: string; }; export declare const FAMILY_MEMBER_ACTION_TYPES: { readonly RESET_FORM: "RESET_FORM"; readonly SET_CURRENT_PAGE: "SET_CURRENT_PAGE"; readonly SET_PAGE_LIMIT: "SET_PAGE_LIMIT"; readonly SET_SEARCH_QUERY: "SET_SEARCH_QUERY"; readonly SET_DRAWER: "SET_DRAWER"; readonly SET_ITEMS: "SET_ITEMS"; readonly SET_FORM_DATA: "SET_FORM_DATA"; readonly SET_DISABLE_SAVE_BUTTON: "SET_DISABLE_SAVE_BUTTON"; readonly SET_INPUT_FIELD: "SET_INPUT_FIELD"; readonly SET_ERRORS: "SET_ERRORS"; readonly SET_FILTERS: "SET_FILTERS"; }, familyMemberModuleConfig: import("@react-pakistan/util-functions/factory/generic-module-factory").ModuleConfig<{ items: FamilyMemberBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; familyId: string; filterEnabled: boolean | undefined; disableSaveButton: boolean; drawer: string | null; avatar: string; bloodGroup: string; dateOfBirth: string; email: string; emergencyPhone: string; enabled: boolean; errors: Record; firstName: string; gender: string; id: string; idNumber: string; isPrimary: boolean; lastName: string; occupation: string; phone: string; relationship: string; role: string; }>, initialFamilyMemberState: { items: FamilyMemberBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; familyId: string; filterEnabled: boolean | undefined; disableSaveButton: boolean; drawer: string | null; avatar: string; bloodGroup: string; dateOfBirth: string; email: string; emergencyPhone: string; enabled: boolean; errors: Record; firstName: string; gender: string; id: string; idNumber: string; isPrimary: boolean; lastName: string; occupation: string; phone: string; relationship: string; role: string; }, FamilyMemberProvider: import("react").FC<{ children: React.ReactNode; }>, familyMemberReducer: (state: { items: FamilyMemberBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; familyId: string; filterEnabled: boolean | undefined; disableSaveButton: boolean; drawer: string | null; avatar: string; bloodGroup: string; dateOfBirth: string; email: string; emergencyPhone: string; enabled: boolean; errors: Record; firstName: string; gender: string; id: string; idNumber: string; isPrimary: boolean; lastName: string; occupation: string; phone: string; relationship: string; role: string; }, action: any) => { items: FamilyMemberBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; familyId: string; filterEnabled: boolean | undefined; disableSaveButton: boolean; drawer: string | null; avatar: string; bloodGroup: string; dateOfBirth: string; email: string; emergencyPhone: string; enabled: boolean; errors: Record; firstName: string; gender: string; id: string; idNumber: string; isPrimary: boolean; lastName: string; occupation: string; phone: string; relationship: string; role: string; }, useFamilyMemberContext: () => import("@react-pakistan/util-functions/factory/generic-module-factory").GenericModuleContextWithHandlers<{ items: FamilyMemberBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; familyId: string; filterEnabled: boolean | undefined; disableSaveButton: boolean; drawer: string | null; avatar: string; bloodGroup: string; dateOfBirth: string; email: string; emergencyPhone: string; enabled: boolean; errors: Record; firstName: string; gender: string; id: string; idNumber: string; isPrimary: boolean; lastName: string; occupation: string; phone: string; relationship: string; role: string; }>; export declare const useFamilyMemberModule: () => { applyFilters: () => void; byIdLoading: boolean; clearFilters: () => void; clearSearch: () => void; deleteLoading: boolean; handleChange: (key: string, value: string | number | boolean | Date | undefined | null) => void; handleCloseDrawer: () => void; handleCreate: () => void; handleDelete: (row?: TableRow) => void; handleEdit: (row?: TableRow) => void; handleFilters: () => void; handleMoreActions: () => void; handlePageChange: (page: number | unknown) => void; handlePageLimitChange: (_k: string, value: object) => void; handleSearch: (query: string) => void; handleSubmit: () => void; handleView: (row?: TableRow) => void; headerActions: { enabled: boolean; handleOnClick: () => void; label: string; order: number; icon: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; }[]; listFetchNow: (url?: string, config?: import("@react-pakistan/util-functions/hooks/use-fetch").FetchConfig) => void; listLoading: boolean; rowActions: RowAction[]; updateLoading: boolean; state: { items: FamilyMemberBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; familyId: string; filterEnabled: boolean | undefined; disableSaveButton: boolean; drawer: string | null; avatar: string; bloodGroup: string; dateOfBirth: string; email: string; emergencyPhone: string; enabled: boolean; errors: Record; firstName: string; gender: string; id: string; idNumber: string; isPrimary: boolean; lastName: string; occupation: string; phone: string; relationship: string; role: string; }; dispatch: React.Dispatch; };