/** * G2.4 — `agentsmarket pipeline search [query] [--license ] [--free] [--author ] [--limit N] [--cursor ] [--json]` * * Browse marketplace pipelines via the server's list endpoint. The query * string is matched against name + description + tags + public_preview * (server-side LIKE search). `--license`, `--free`, `--author` are server- * side filters that narrow AFTER the LIKE search. * * Pagination: `--limit` (default 20, max 100 — server cap), `--cursor` * opaque token from prior response's `next_cursor`. Exit when the server * returns no `next_cursor`. * * Output (TTY): aligned columns — NAME | LICENSE | PRICE | AUTHOR | UPDATED. * `--json` emits one JSON envelope per page (no TTY pretty-print). * * Empty query is allowed — returns the latest pipelines (default sort: * `invocation_count DESC` per server). */ import { authedJson } from '../../lib/http.js'; export interface SearchOptions { query?: string; license?: string; free?: boolean; author?: string; limit?: number; cursor?: string; json?: boolean; } export interface SearchDeps { authedJson?: typeof authedJson; stderr?: (line: string) => void; stdout?: (line: string) => void; exit?: (code: number) => never; isTTY?: () => boolean; } export declare function pipelineSearchCommand(options: SearchOptions, depsOverrides?: SearchDeps): Promise;