export type FetchFn = (url: string, init: { method: string; headers: Record; signal: AbortSignal; }) => Promise; export type GetEnvFn = (name: string) => string | undefined; export interface FetchOidcOptions { fetchFn?: FetchFn; getEnv?: GetEnvFn; /** Audience claim requested from the runner. Defaults to "agentlint". */ audience?: string; } /** * Request a GitHub Actions OIDC token. Returns the JWT string on success or * null if we're not on Actions, if the request fails, or if the response * shape is unexpected. Never throws. */ export declare function fetchGithubOidcToken(opts?: FetchOidcOptions): Promise; //# sourceMappingURL=oidc.d.ts.map