import { GraphQLResolveInfo, SelectionSetNode } from "graphql"; import { Integer } from "neo4j-driver"; import { ConnectionField, ConnectionQueryArgs } from "../types"; export declare function connectionFieldResolver({ connectionField, source, args, info, }: { connectionField: ConnectionField; source: any; args: ConnectionQueryArgs; info: GraphQLResolveInfo; }): { [x: string]: any; }; /** * Adapted from graphql-relay-js ConnectionFromArraySlice */ export declare function createConnectionWithEdgeProperties({ selectionSet, source, args, totalCount, }: { selectionSet: SelectionSetNode | undefined; source: any; args: { after?: string; first?: number; }; totalCount: number; }): { [x: string]: any[] | { [x: string]: any; }; }; export declare function createOffsetLimitStr({ offset, limit, }: { offset?: number | Integer; limit?: number | Integer; }): string; //# sourceMappingURL=pagination.d.ts.map