export declare enum CursorType { AFTER = "after", BEFORE = "before", UNKNOWN = "unknown" } export declare enum CursorFieldFormat { STRING = "string", DATE = "date" } export type CursorOrderType = string | Date; export declare class Cursor { private readonly _id; private readonly _orderBy; private readonly _type?; constructor(fields: { id: string; orderBy?: CursorOrderType; type?: CursorType; }); get id(): string; get orderBy(): CursorOrderType; get isBefore(): boolean; get isAfter(): boolean; get orderingByMultipleFields(): boolean; static fromAfterString(cursor: string, orderBy?: CursorOrderType): Cursor; static fromBeforeString(cursor: string, orderBy?: CursorOrderType): Cursor; }