import type { AVOFormatContext } from "../AVFormatContext.ts"; import OFormat from "./OFormat.ts"; import { AVFormat, AVCodecID, type AVPacket } from "@libmedia/avutil"; export default class OH26XFormat extends OFormat { type: AVFormat; private filter; private muxStream; private extradata; constructor(); init(formatContext: AVOFormatContext): number; destroy(formatContext: AVOFormatContext): Promise; writeHeader(formatContext: AVOFormatContext): number; writeAVPacket(formatContext: AVOFormatContext, avpacket: pointer): number; writeTrailer(formatContext: AVOFormatContext): number; flush(formatContext: AVOFormatContext): number; getCapabilities(): AVCodecID[]; static Capabilities: AVCodecID[]; }