import type { TypedDocumentNode } from '@graphql-typed-document-node/core';
import type { ApolloClient, OperationVariables } from '@apollo/client/core/index.js';
import { type GetArtifactUrlQueryVariables, type GetProjectsQueryVariables, type GetReleaseQueryVariables, type GetReleasesVersionsQueryVariables, type GetTokenSetsQueryVariables } from '../../__generated__/graphql.js';
export declare const runQuery: <T, Vars extends OperationVariables>(client: ApolloClient<unknown>, query: TypedDocumentNode<T, Vars>, variables?: Vars) => () => Promise<T>;
export declare const getOrgs: (client: ApolloClient<unknown>) => Promise<{
    totalPages: number;
    data: Array<{
        name: string;
        id: string;
    }>;
}>;
export declare const getProjects: (client: ApolloClient<unknown>, variables: GetProjectsQueryVariables) => Promise<{
    totalPages: number;
    data: Array<{
        id: string;
        name: string;
        organizationId: string;
        branches: {
            data: Array<{
                name: string;
                isDefault: boolean;
            }>;
        };
    }>;
}>;
export declare const getSets: (client: ApolloClient<unknown>, variables: GetTokenSetsQueryVariables) => Promise<{
    totalPages: number;
    data: Array<{
        name: string;
        raw?: any | null;
    }>;
}>;
export declare const getReleaseVersions: (client: ApolloClient<unknown>, variables: GetReleasesVersionsQueryVariables) => Promise<{
    totalPages: number;
    data: Array<{
        version: string;
    }>;
}>;
export declare const getRelease: (client: ApolloClient<unknown>, variables: GetReleaseQueryVariables) => Promise<{
    name: string;
    createdAt: any;
    configArtifactUrl?: string | null;
    tokensArtifactUrl?: string | null;
}>;
export declare const getArtifactUrl: (client: ApolloClient<unknown>, variables: GetArtifactUrlQueryVariables) => Promise<string>;
//# sourceMappingURL=queries.d.ts.map