import { type GitHubTransport } from '../../../../core/github/client.ts'; import { type RepoRef } from '../../../../core/github/repo.ts'; import type { FlagView } from '../../../spec/types.ts'; import type { CommandFnResult } from '../../../config.ts'; import type { CLIInvocation } from '../../types.ts'; export declare function ghTransport(config: unknown): GitHubTransport; /** * The repository a line is about: the operand if it named one, the * install's own otherwise. gh resolves this from the current git remote, * which a workspace has no equivalent of, so the config carries it. */ export declare function ghRepo(config: unknown, spec: string | undefined): RepoRef; export declare function jsonOut(value: unknown, mutated?: boolean): CommandFnResult; export declare function textOut(text: string, mutated?: boolean): CommandFnResult; export declare function repoFor(inv: CLIInvocation, fl: FlagView): RepoRef; export declare function repoNumber(inv: CLIInvocation, fl: FlagView, value: string | undefined, label: string, urlKind: 'issues' | 'pull'): [RepoRef, number]; export declare function csvValues(values: readonly string[]): string[]; export declare function readCliFile(inv: CLIInvocation, raw: unknown, option: string, ...aliases: string[]): Promise; export declare function bodyValue(inv: CLIInvocation, fl: FlagView, opts?: { value?: string; file?: string; required?: boolean; }): Promise; export declare function camel(value: unknown): unknown; export declare function textValue(value: unknown): string; export declare function typedOut(value: unknown, fl: FlagView, human: string, allowed: readonly string[]): Promise; //# sourceMappingURL=accessor.d.ts.map