import { type Runner } from "../../../process-runner/dist/index.js"; export interface GhClientOptions { token: string; endpoint?: string; fetch?: typeof fetch; } export interface GhClient { graphql(query: string, variables: Record): Promise; } export declare function createGhClient(options: GhClientOptions): GhClient; export interface ResolveAuthOptions { explicitToken?: string; runner?: Runner; } export declare function resolveAuth(options: ResolveAuthOptions): Promise; export interface ResolveEndpointOptions { env?: Record; } export declare function resolveEndpoint(options?: ResolveEndpointOptions): string;