export declare const paginate: <T>(fetchPage: (after: string | undefined) => Promise<{
    nodes: {
        nodes: T[];
    };
    pageInfo: {
        endCursor: string | null;
    };
    totalCount: number | null;
}>) => Promise<T[]>;
