import { type ReadConf, type FeedData } from '../client';
import { type BuildConf } from '../url';
export type FetchConf = Partial<{
    make: BuildConf;
    from: URL | string;
    opt: RequestInit;
} & ReadConf>;
export interface FeedError {
    type: 'error';
    err: Error | unknown;
    conf: FetchConf;
    req?: Request | null;
    res?: Response | null;
}
export declare const FETCH_OPT: RequestInit;
export declare const fetcher: (conf: FetchConf) => Promise<FeedData | FeedError>;
