import { GoogleAuth } from 'google-auth-library';
import type { ClientOptions } from 'google-gax';
export declare type AuthInfo = {
    type: 'service_account';
    project_id: string;
    private_key: string;
    private_key_id: string;
    client_email: string;
    client_id: string;
    auth_uri: string;
    token_uri: string;
    auth_provider_x509_cert_url: string;
    client_x509_cert_url: string;
};
export declare const createAuth: (info: AuthInfo) => GoogleAuth<import("google-auth-library/build/src/auth/googleauth").JSONClient>;
export declare const getProjectId: (owner: string, repoName: string) => string;
export declare const getCloudBuildTriggerName: (owner: string, repoName: string) => string;
export declare const getCloudRunServiceName: (owner: string, repoName: string) => string;
export declare type GoogleClientConfig = Pick<ClientOptions, 'projectId'> & {
    auth?: AuthInfo;
};
//# sourceMappingURL=util.d.ts.map