UNPKG

512 BTypeScriptView Raw
1import { Document } from './Manifest';
2export declare type XMLItem = {
3 _: string;
4 $: {
5 name: string;
6 };
7};
8export declare function getProjectStylesXMLPathAsync(projectDir: string): Promise<string | null>;
9export declare function readStylesXMLAsync(stylesPath: string): Promise<Document>;
10export declare function writeStylesXMLAsync(stylesPath: string, stylesContent: any): Promise<void>;
11export declare function setStylesItem(itemToAdd: XMLItem[], styleFileContentsJSON: Document): Document;