///
import { StreamMetadata } from "./types/graph";
interface DataFormatMap {
pixel: {
ff: string;
web: VideoPixelFormat;
}[];
sample: {
ff: string;
web: AudioSampleFormat;
}[];
}
export declare const dataFormatMap: DataFormatMap;
export declare function formatFF2Web(type: T, format: string): typeof dataFormatMap[T][0]['web'];
export declare function formatWeb2FF(type: T, format: typeof dataFormatMap[T][0]['web']): string;
interface StreamArgs {
frameRate?: number;
}
export declare function webFrameToStreamMetadata(frame: VideoFrame | AudioData, args: StreamArgs): StreamMetadata;
export {};