import { LawXMLStruct } from "./data/loaders/common"; export declare const lawlistsURL = "https://laws.e-gov.go.jp/api/1/lawlists/1"; export declare const lawdataURL = "https://laws.e-gov.go.jp/api/1/lawdata/"; export declare const articlesURL = "https://laws.e-gov.go.jp/api/1/articles/"; export declare const allXMLZipURL = "https://laws.e-gov.go.jp/download?file_section=1&only_xml_flag=true"; export declare const fetchElaws: (url: string, retry?: number) => Promise; export declare class LawNameListInfo { LawId: string; LawName: string; LawNo: string; PromulgationDate: string; constructor(LawId: string, LawName: string, LawNo: string, PromulgationDate: string); } export declare const fetchLawNameList: () => Promise; export declare class ElawsLawData extends LawXMLStruct { readonly lawID: string; readonly law: Element; readonly imageData: Uint8Array | null; private _xml; constructor(lawID: string, law: Element, imageData: Uint8Array | null, _xml?: string | null); private _pict; private getXml; get xml(): string; getPictFileOrBlobURL(src: string): Promise<{ url: string; type: string; } | null>; ensurePict(): Promise | null>; getPictBlob(src: string): Promise<{ buf: ArrayBuffer; type: string; } | null>; } export declare const fetchLawData: (lawIDOrLawNum: string) => Promise; export declare const fetchAllXMLZip: () => Promise; export declare const fetchPartialLaw: (options: { lawNum: string; article?: string; paragraph?: string; appdxTable?: string; }) => Promise;