securityos/node_modules/fix-webm-duration/fix-webm-duration.d.ts

16 lines
487 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
export type LoggerCallback = (message: string) => void;
export interface Options {
logger?: LoggerCallback | false;
}
export type ResultCallback = (fixedBlob: Blob) => void;
export interface FixWebmDurationFunction {
(blob: Blob, duration: number, callback: ResultCallback, options?: Options): void;
(blob: Blob, duration: number, options?: Options): Promise<Blob>;
}
declare const fixWebmDuration: FixWebmDurationFunction;
export default fixWebmDuration;