import { Record } from '../interfaces/Record'; export type SubscribeType = () => Promise; export type UnsubscribeType = () => Promise; export type FetchType = () => Promise; export type CreateType = (record: {}) => Promise; export type UpdateType = (id: string, record: {}) => Promise; export type DeleteType = (id: string) => Promise; export interface Actions { subscribe: SubscribeType; unsubscribe: UnsubscribeType; fetch: FetchType; create: CreateType; update: UpdateType; delete: DeleteType; } export declare function useAppContent(collectionName: string, initialFetch?: boolean): { records: T[]; actions: Actions; isSubscribed: boolean; };