import type { IDataObject } from 'n8n-workflow'; import type { MondayGraphQLClient } from './MondayGraphQLClient'; export declare const RETURN_ALL_HARD_CAP = 100000; export declare const DEFAULT_PAGE_SIZE = 100; export interface PageBasedOptions { client: MondayGraphQLClient; itemIndex: number; query: string; variables?: Record; extractRows: (data: IDataObject) => IDataObject[]; limit?: number; pageSize?: number; } export declare function fetchAllPaged(options: PageBasedOptions): Promise; export interface CursorPage { cursor: string | null; items: IDataObject[]; } export interface CursorPageResult { rows: IDataObject[]; nextCursor: string | null; } export interface CursorBasedOptions { client: MondayGraphQLClient; itemIndex: number; firstQuery: string; firstVariables?: Record; extractFirstPage: (data: IDataObject) => CursorPage | undefined; itemFields: string; limit?: number; pageSize?: number; startCursor?: string; } export declare function fetchAllByCursor(options: CursorBasedOptions): Promise;