import { PushCampaignBE } from "../../../type"; import { type RowAction, type TableRow } from "@appcorp/shadcn/components/enhanced-table"; export declare const usePushCampaignModule: () => { applyFilters: () => void; byIdLoading: boolean; clearFilters: () => void; closeDrawer: () => void; deleteLoading: boolean; handleAiCheck: () => Promise; handleChange: (field: string, value: string | number | boolean | undefined | null | Array<{ classId: string | null; sectionId: string | null; }>) => void; handleCreate: () => void; handleDelete: (row?: TableRow) => void; handleEdit: (row?: TableRow) => void; handleFilters: () => void; handleLaunch: (row?: TableRow) => Promise; 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; }[]; listFetchNow: (url?: string, config?: import("@react-pakistan/util-functions/hooks/use-fetch").FetchConfig) => void; listLoading: boolean; rowActions: RowAction[]; updateLoading: boolean; handleCloseDrawer?: () => void; state: { items: PushCampaignBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; disableSaveButton: boolean; drawer: string | null; errors: Record; id: string; name: string; title: string; body: string; schoolId: string; scheduledAt: string; status: string; enabled: boolean; allStudents: boolean; successCount: number; failedCount: number; totalCount: number; workerJobId: string | null; audience: Array<{ classId: string | null; sectionId: string | null; }>; filterEnabled: boolean | undefined; filterStatus: string | undefined; filterStartDate: string; filterEndDate: string; aiCheckPassed: boolean; aiCheckLoading: boolean; aiCheckScore: number | null; aiSuggestions: string; }; dispatch: React.Dispatch; };