import type { AVChapter, AVFormatContextInterface, AVIFormatContext, AVOFormatContext } from "./AVFormatContext.ts"; import { type AVFormat, AVMediaType, AVCodecID, type AVStreamGroupInterface, type AVStreamInterface } from "@libmedia/avutil"; export interface DumpIOInfo { from: string; tag: 'Input' | 'Output'; isLive?: boolean; } export declare function dumpTime(time: int64): string; export declare function dumpInt64(v: int64): string; export declare function dumpBitrate(v: int64): string; export declare function dumpKey(obj: Record, value: T, defaultValue?: string): string; export declare function dumpCodecName(codecType: AVMediaType, codecId: AVCodecID): string; export declare function dumpFormatName(format: AVFormat): string; export declare function dumpProfileName(codecId: AVCodecID, profile: int32): any; export declare function dumpDisposition(flags: int32): string; export declare function dumpAVStreamInterface(stream: AVStreamInterface, index: number, prefix: string): string; export declare function dumpAVStreamGroupInterface(group: AVStreamGroupInterface, index: number, prefix: string, dumpedStream: Record): string; export declare function dumpChapter(chapter: AVChapter, index: number, cheapIndex: number, prefix: string): string; export declare function dumpAVFormatContextInterface(formatContext: AVFormatContextInterface, index: number, input: DumpIOInfo): string; export default function dump(formatContexts: (AVFormatContextInterface | AVIFormatContext | AVOFormatContext)[], inputs: DumpIOInfo[]): string;