import type { FieldPolicy, Reference } from "../../cache/index.js"; type KeyArgs = FieldPolicy["keyArgs"]; export declare function concatPagination(keyArgs?: KeyArgs): FieldPolicy; export declare function offsetLimitPagination(keyArgs?: KeyArgs): FieldPolicy; export type TRelayEdge = { cursor?: string; node: TNode; } | (Reference & { cursor?: string; }); export type TRelayPageInfo = { hasPreviousPage: boolean; hasNextPage: boolean; startCursor: string; endCursor: string; }; export type TExistingRelay = Readonly<{ edges: TRelayEdge[]; pageInfo: TRelayPageInfo; }>; export type TIncomingRelay = { edges?: TRelayEdge[]; pageInfo?: TRelayPageInfo; }; export type RelayFieldPolicy = FieldPolicy | null, TIncomingRelay | null, TIncomingRelay | null>; export declare function relayStylePagination(keyArgs?: KeyArgs): RelayFieldPolicy; export {}; //# sourceMappingURL=pagination.d.ts.map