import { MetaData } from "./metaData"; import { Project } from "./project"; /** * The main class for handling DAWproject files. */ export declare class DawProject { /** The format name. */ static FORMAT_NAME: string; /** The file extension. */ static FILE_EXTENSION: string; /** The name of the project file within the container. */ static PROJECT_FILE: string; /** The name of the metadata file within the container. */ static METADATA_FILE: string; /** /** * Remove BOM from the start of text */ static stripBom(data: Uint8Array): string; /** * Save project to a Uint8Array containing the ZIP file */ static save(project: Project, metadata: MetaData, embeddedFiles: { [path: string]: Uint8Array; }): Promise; /** * Load project from a Uint8Array containing the ZIP file */ static loadProject(data: Uint8Array): Promise; /** * Load metadata from a Uint8Array containing the ZIP file */ static loadMetadata(data: Uint8Array): Promise; /** * Get embedded file contents from a Uint8Array containing the ZIP file */ static getEmbedded(data: Uint8Array, embeddedPath: string): Promise; /** * Validate project XML * This is a simplified validation that just checks if the XML is well-formed */ static validate(project: Project): Promise; }