import type { AssetRecord, Gap, SearchResponse } from "./wire.js"; /** `prop · 1:1 · alpha` — the placement contract, from facts the bytes cannot get wrong. */ export declare function contractLine(a: AssetRecord): string; /** `pumpkin · prop · 1:1 · 1024x1024 · alpha` — `add`'s confirmation line (byte facts). */ export declare function byteFactsLine(a: AssetRecord): string; /** Human byte size, e.g. `180 KB`. Absent bytes render as an absent size. */ export declare function humanBytes(bytes: number | undefined): string | undefined; /** * One search result, in the five-line layout the design fixes: * 1 id + the placement contract (byte facts — decides usability) * 2 subject — description (the noun leads; the agent matched on a noun) * 3 usage_hint, UNLABELLED (it is an instruction and reads as one) * 4 style · render then palette (the NEXT query's vocabulary) * 5 the URL, whole and alone (the payload) * Any line whose fields are absent is simply not emitted. */ export declare function searchRecordLines(a: AssetRecord): string[]; /** The `Narrow it:` footer — a vocabulary with real example values, not a usage string. */ export declare function narrowFooter(results: AssetRecord[]): string; /** The zero-result screen. Exit 0, and DELIBERATELY no glyph. */ export declare function zeroResultLines(query: string, gaps: Gap[], revision?: string): string[]; /** The full human search screen. */ export declare function searchLines(res: SearchResponse, query: string): string[]; /** * `add`'s success block. The URL is the FIRST line of each entry because `add` * exists to produce URLs; the byte facts follow as confirmation that the right one * arrived. */ export declare function addLines(resolved: AssetRecord[], unknownCount: number, requestedCount: number): string[]; /** * The failure block for unresolved ids. Last, `✗`, and the offending string echoed * VERBATIM on its own indented line so an agent can diff its own input without * parsing our sentence. */ export declare function unknownBlockLines(unknown: string[], resolvedCount: number, malformed: boolean): string[]; /** `show`'s stacked key/value block — the "tell me everything" verb. */ export declare function showLines(a: AssetRecord): string[]; /** The three exit-4 screens. Each states that the creator's PROJECT is unaffected. */ export declare function unreachableLines(kind: "transport" | "auth" | "unavailable", retry: string): string[];