export interface PreprocessResult { xml: string; /** Markup Compatibility violations found while preprocessing (these fail the part). */ errors: string[]; } /** * Applies Markup Compatibility processing the way a consumer that does not understand an * extension namespace must: only elements/attributes whose namespace prefix is declared in * `mc:Ignorable` are removed, and `mc:AlternateContent` becomes its `mc:Fallback` content (an * error is recorded when there is none). Anything else that is not in the schema is left in * place so validation reports it. */ export declare function withoutExtensions(xml: string): PreprocessResult; /** Schema errors for one WordprocessingML part (empty when it is valid). */ export declare function schemaErrors(xml: string): Promise; export interface PackageValidation { /** Names of the parts that were checked, so a test can prove a part was not skipped. */ validated: string[]; /** Schema errors keyed by part name; empty for a valid package. */ errors: Record; } /** Every WordprocessingML part in a saved package, with its schema errors. */ export declare function packageSchemaErrors(bytes: Uint8Array): Promise; //# sourceMappingURL=schema-validation.d.ts.map