/**
 * Pure mappers from GitHub API JSON onto repository panel rows.
 * @module cli/ui-github-repo-map
 */
import type { GithubRepoSettings, GithubRulesetRow } from "./ui-github-repo-gh.js";
/**
 * Map repository JSON into the panel settings shape.
 * @param raw - Parsed `gh api repos/{owner}/{repo}` payload
 * @returns Settings for the console
 */
export declare function mapRepoSettings(raw: unknown): GithubRepoSettings;
/**
 * Map a detailed ruleset payload into a panel row.
 * @param raw - One ruleset object from gh api
 * @returns Panel row
 */
export declare function mapRulesetRow(raw: unknown): GithubRulesetRow;
/**
 * Require a non-empty string field (shared by label/secret list parsers).
 * @param record - Source object
 * @param key - Property name
 * @returns String value
 */
export declare function requireNamedString(record: object, key: string): string;
//# sourceMappingURL=ui-github-repo-map.d.ts.map