import { type CreateFetchFromRegistryOptions } from '@pnpm/network.fetch'; import type { RegistriesByScope, RegistryConfig } from '@pnpm/types'; import { rcOptionsTypes } from './common.js'; export { rcOptionsTypes }; export declare function cliOptionsTypes(): Record; export declare const commandNames: string[]; export declare function help(): string; export interface SearchPackage { name: string; version: string; description?: string; date?: string; author?: { name: string; } | string; publisher?: { username: string; }; maintainers?: Array<{ username: string; }>; keywords?: string[]; } export interface SearchResult { package: SearchPackage; } export interface SearchOptions extends CreateFetchFromRegistryOptions { configByUri?: Record; registriesByScope?: RegistriesByScope; json?: boolean; searchLimit?: number; } export declare function handler(opts: SearchOptions, params: string[]): Promise;