import type { Octokit } from "@octokit/core";
export type { PageInfoForward, PageInfoBackward } from "./page-info";
export declare function paginateGraphql(octokit: Octokit): {
    graphql: import("@octokit/graphql/dist-types/types").graphql & {
        paginate: (<ResponseType_1 extends object = any>(query: string, initialParameters?: Record<string, any>) => Promise<ResponseType_1>) & {
            iterator: <ResponseType_2 = any>(query: string, initialParameters?: Record<string, any>) => {
                [Symbol.asyncIterator]: () => {
                    next(): Promise<{
                        done: boolean;
                        value: ResponseType_2;
                    }>;
                };
            };
        };
    };
};
