import { type LibraryClient } from "./client.js"; export interface AssetsDeps { /** stdout — the JSON document under --json, the human screen otherwise. */ out: (line: string) => void; /** stderr — EVERY human line when --json is on. */ err: (line: string) => void; client: LibraryClient; /** The project root `--download` writes under. */ cwd: string; } export interface SearchOptions { query: string; kind?: string; render?: string; palette?: string; limit?: string; json: boolean; } export declare function assetsSearch(deps: AssetsDeps, opts: SearchOptions): Promise; export interface ShowOptions { ids: string[]; json: boolean; } export declare function assetsShow(deps: AssetsDeps, opts: ShowOptions): Promise; export interface AddOptions { ids: string[]; json: boolean; download: boolean; force: boolean; dir?: string; } export declare function assetsAdd(deps: AssetsDeps, opts: AddOptions): Promise;