export * from './search/types';
export type FeedsClientOptions = {
    base_url?: string;
    timeout?: number;
};
export type RateLimit = {
    rate_limit?: number;
    rate_limit_remaining?: number;
    rate_limit_reset?: Date;
};
export type RequestMetadata = {
    response_headers: Record<string, string>;
    rate_limit: RateLimit;
    response_code: number;
    client_request_id: string;
};
export type StreamResponse<T> = T & {
    metadata: RequestMetadata;
};
export declare class StreamApiError extends Error {
    metadata?: Partial<RequestMetadata> | undefined;
    code?: number | undefined;
    name: string;
    constructor(message: string, metadata?: Partial<RequestMetadata> | undefined, code?: number | undefined, errorOptions?: ErrorOptions);
}
export type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error';
export interface NetworkChangedEvent {
    type: 'network.changed';
    online: boolean;
}
