import type { RequestFormatShorthand } from '../index.js';
import type { CID } from 'multiformats/cid';
export interface AcceptHeader {
    mimeType: string;
    options: Record<string, string>;
}
/**
 * Selects an output mime-type based on the CID and a passed `Accept` header
 */
export declare function selectOutputType(cid: CID, accept?: string): AcceptHeader | undefined;
export declare const FORMAT_TO_MIME_TYPE: Record<RequestFormatShorthand, string>;
/**
 * Converts a `format=...` query param to a mime type as would be found in the
 * `Accept` header, if a valid mapping is available
 */
export declare function queryFormatToAcceptHeader(format?: RequestFormatShorthand): string | undefined;
//# sourceMappingURL=select-output-type.d.ts.map