export declare enum LogLevel { Error = "ERROR", Warning = "WARNING", Info = "INFO", Debug = "DEBUG" } export type ClientResponse = { response: Response; headers: Map; data: T; }; export type Options = { headers?: { [x: string]: string; }; method?: string; url?: string; credentials?: 'omit' | 'same-origin' | 'include'; body?: any; signal?: RequestInit['signal']; ignoreStatus?: boolean; /** If true, status codes > 300 are ignored and don't cause an error */ duplex?: 'half'; /** Optional, but required for node clients. Must be 'half' for half-duplex fetch; 'full' is reserved for future use. See https://fetch.spec.whatwg.org/#dom-requestinit-duplex */ }; export type OptsSignalExt = { signal?: AbortSignal; }; export type StatusOK = { status: 'OK'; }; export declare const isStatusOK: (x: StatusOK | Record) => x is StatusOK; export type FetchPaginatedThreadOptions = { fetchThreads?: boolean; collapsedThreads?: boolean; collapsedThreadsExtended?: boolean; updatesOnly?: boolean; direction?: 'up' | 'down'; fetchAll?: boolean; perPage?: number; fromCreateAt?: number; fromUpdateAt?: number; fromPost?: string; };