feat(core): improve in-memory validation, FatturaPA detection coverage, and published type compatibility
This commit is contained in:
Vendored
+32
@@ -0,0 +1,32 @@
|
||||
declare module 'xmldom' {
|
||||
export class DOMParser {
|
||||
parseFromString(source: string, mimeType: string): Document;
|
||||
}
|
||||
|
||||
export class XMLSerializer {
|
||||
serializeToString(node: Node): string;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'pako' {
|
||||
export function inflate(input: Uint8Array | ArrayBuffer | string, options?: unknown): Uint8Array;
|
||||
}
|
||||
|
||||
declare module 'saxon-js' {
|
||||
export function compile(options: {
|
||||
stylesheetText: string;
|
||||
warnings?: string;
|
||||
[key: string]: unknown;
|
||||
}): Promise<unknown>;
|
||||
|
||||
export function transform(options: {
|
||||
stylesheetInternal?: unknown;
|
||||
sourceText: string;
|
||||
destination?: string;
|
||||
stylesheetParams?: Record<string, unknown>;
|
||||
[key: string]: unknown;
|
||||
}): Promise<{
|
||||
principalResult: string;
|
||||
[key: string]: unknown;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user