import type { NOOPAccessor } from '../../../../accessor/base.ts';
import { PathSpec } from '../../../../types.ts';
import type { CommandFnResult, Context } from '../../../config.ts';
import { type ConfigLine } from './fs.ts';
export declare function remote(_accessor: NOOPAccessor, paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
/** Fetch and push URLs, with Git's longest-prefix config rewrites. */
export declare function remoteUrls(cfg: readonly ConfigLine[], name: string): [string[], string[]];
/** Read the get-url remainder through the shared option parser. */
export declare function remoteGetUrl(texts: string[], ctx: Context): Promise<CommandFnResult>;
/**
 * The per-user config files `--global` reads, in git's order.
 *
 * `$GIT_CONFIG_GLOBAL` alone when set, else the XDG file then `~/.gitconfig`,
 * each read through the dispatcher from the session's own `HOME` so the answer
 * is the workspace's and never the host's. Only `--list` refuses when neither
 * exists.
 */
export declare function globalSources(ctx: Context, listing: boolean): Promise<{
    source: string;
    data: Uint8Array;
}[]>;
export declare function mergeBase(_accessor: NOOPAccessor, paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
export declare function config(_accessor: NOOPAccessor, paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
export declare function showRef(_accessor: NOOPAccessor, paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
export declare function revList(_accessor: NOOPAccessor, paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
export declare function version(_accessor: NOOPAccessor, _paths: PathSpec[], _texts: string[], _ctx: Context): CommandFnResult;
/**
 * `git rev-parse`: each revision's object id, and the answers to the options
 * that report where the line runs, in the order the line gives them. With
 * `--verify` (or `--short`, which implies it) there must be exactly one
 * revision, printed after everything else, and `-q` turns the refusal into a
 * bare exit 1.
 */
export declare function revParse(_accessor: NOOPAccessor, paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
//# sourceMappingURL=inspect.d.ts.map