import Node from './../type/node'; import Adapter from './../interface/adapter'; import FieldValue from './../type/field-value'; interface AdapterConfig { readonly filepath: string; } declare class FilesystemAdapter implements Adapter { private filepath; constructor(partial_config?: Partial); fetchNode(node_key: string): Promise; storeNode(node_key: string, node: Node): Promise; setField(node_key: string, field_key: string, old_value: FieldValue, new_value: FieldValue): Promise; fetchAccountId(username: string, password: string): Promise; storeAccountId(username: string, password: string, account_id: string): Promise; private fetchNodeUnsafe; private ensureTypeDirectoryExists; private ensureSubdirectoryExists; private buildNodeFilepath; private ensureValuesMatch; private getFilepath; } export default FilesystemAdapter;