import { Uint8 } from "semantic-types"; import * as swf from "swf-types"; export { swf }; /** * Parses a completely loaded SWF file. * * @param bytes SWF file to parse * @returns The parsed Movie */ export declare function parseSwf(bytes: Uint8Array): swf.Movie; /** * Parses the tag at the start of `input`. * * This parser assumes that `input` is complete: it has all the data until the end of the movie. * * @param bytes Tag to parse * @param swfVersion SWF version to use for tags depending on the SWF version * @returns The parsed tag, or `undefined` if an error occurred. */ export declare function parseTag(bytes: Uint8Array, swfVersion: Uint8): swf.Tag | undefined;