export declare type Paginated = 'basic' | 'all' | CustomPaginated; export interface CustomPaginated { edges?: { cursor?: 'all'; node?: T; }; nodes?: T; pageInfo?: { endCursor?: 'all'; hasNextPage?: 'all'; }; totalCount?: 'all'; } export declare function paginatedGQLFields(fields: Paginated, innerGQLFieldsFn: (fields: T) => string): string;