export interface GhExecutor { (args: readonly string[]): Promise; } export interface DiscoveredRepo { host: string; owner: string; name: string; cloneUrl: string; sshUrl: string; isPrivate: boolean; topics: readonly string[]; } export declare function getDefaultGhExecutor(): GhExecutor; export declare function findAccessibleRepoByName(opts: { repoName: string; gh?: GhExecutor; }): Promise; export declare function walkUserRepos(opts: { owner: string; gh?: GhExecutor; }): Promise; export declare function walkReposForOwners(opts: { owners: readonly string[]; gh?: GhExecutor; }): Promise; export declare function fetchVaultYonContent(opts: { owner: string; repo: string; gh?: GhExecutor; }): Promise; export declare function checkPushPermission(opts: { owner: string; repo: string; gh?: GhExecutor; }): Promise; export declare function checkRepoVisibility(opts: { owner: string; repo: string; gh?: GhExecutor; }): Promise<"public" | "private" | "unknown">; //# sourceMappingURL=gh-discover.d.ts.map