import type { RegistrySearchResult, RegistrySearchFilters } from '../../types/index.js';
/** Return the registry base URL from env var or default. */
export declare function getRegistryUrl(): string;
/** Fetch search results from the backend. Returns null on any error so caller can fall back. */
export declare function fetchRegistrySearch(filters: RegistrySearchFilters): Promise<RegistrySearchResult | null>;
/** Download a spec by name + version. Returns YAML string or null on error. */
export declare function fetchRegistrySpec(name: string, version?: string): Promise<string | null>;
/** Publish a spec to the registry. Requires auth token. Never throws. */
export declare function publishToRegistry(yamlContent: string, token: string): Promise<{
    ok: boolean;
    specId?: string;
    error?: string;
}>;
//# sourceMappingURL=http-client.d.ts.map