import { QueryConstraint } from "firebase/firestore"; import { SetStateAction } from "react"; import { InstituteData, PlacementListing, ProviderData, UserData } from "../typeDefinitions"; export declare const getStaffRolesForStudent: (studentFields: string[], product: string, userObject: UserData) => Promise<{}>; export declare const searchUsers: (userType: "Staff" | "Students", name: string, user: UserData, lim?: number, constraints?: QueryConstraint[]) => Promise<{ [x: string]: UserData; }>; export declare const getUser: (uid: string, setState: SetStateAction) => Promise; export declare const getNotifications: (user: UserData, setState: SetStateAction) => Promise; export declare const getFiles: (path: string[] | string) => Promise<{ name: string; url: string; }[]>; export declare const getFormsFromId: (path: string[] | string, forms: string[]) => Promise<{}>; export declare const getUserById: (id: string, setState?: SetStateAction, getGroupData?: boolean) => Promise; export declare const getPlacementbyId: (pid: string, setState: SetStateAction) => Promise; export declare const getOrganisation: (user: UserData, setOrg: (data: InstituteData | ProviderData) => void) => Promise; export declare const getPlacementsWhere: ({ w, oId, uid, raw }: { w: QueryConstraint[] | QueryConstraint; oId?: string; uid?: string; raw?: boolean; }) => Promise | { [k: string]: any; }>; export declare const checkPlacementConflicts: (instituteId: string, userGroupId: string) => Promise; export declare const getPlacementListingsById: (placementListings: string[]) => Promise<[string, PlacementListing][]>;