import { KeyedResolvOnce, CoerceURI } from "@adviser/cement"; import { AttachedStores, Loadable, ActiveStore, DataAndMetaStore, LocalActiveStore } from "@fireproof/core-types-blockstore"; import { Attachable, Attached, GatewayUrlsParam } from "@fireproof/core-types-base"; export declare function createAttachedStores(urlOrGup: CoerceURI | GatewayUrlsParam, arOrLoadable: AttachedStores | Loadable, name?: string): Promise; export declare class AttachedRemotesImpl implements AttachedStores { private readonly _remotes; readonly loadable: Loadable; _local?: Attached; readonly id: string; constructor(loadable: Loadable); forRemotes(action: (store: ActiveStore) => Promise): Promise; remotes(): ActiveStore[]; local(): LocalActiveStore; activate(store: DataAndMetaStore | CoerceURI): ActiveStore; detach(): Promise; readonly _keyedAttachable: KeyedResolvOnce; attach(attachable: Attachable, onAttach: (at: Attached) => Promise): Promise; }