import type { NOOPAccessor } from '../../../../accessor/base.ts';
import type { PathSpec } from '../../../../types.ts';
import type { CommandFnResult, Context } from '../../../config.ts';
import { type Repo } from './repo.ts';
/**
 * The stored bytes of what a name stands for, peeled to a type, as the session
 * is shown them; null when the chain never reaches the type.
 *
 * @param repo the opened repository
 * @param name the object name as typed
 * @param want the type asked for
 */
export declare function typedBytes(repo: Repo, name: string, want: string): Promise<Uint8Array | null>;
/**
 * `git cat-file`: an object's type, size, existence or content, for one name, a
 * `<type> <object>` pair or each stdin line under `--batch`. Pinned against git
 * 2.50.1.
 */
export declare function catFile(_accessor: NOOPAccessor, paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>;
//# sourceMappingURL=cat_file.d.ts.map