import type { EntityConstruction, HostPreferencesChangeCapability, HostPreferencesCapability, StorageBooleanOrResult, StorageBooleanResult, StorageByteSizeResult, StorageClearNamespaceResult, StorageClearResult, StorageEntriesResult, StorageGetItemResult, StorageItemCountResult, StorageItemOrResult, StorageItemsResult, StorageJsonOrResult, StorageJsonResult, StorageJsonWriteResult, StorageKeysResult, StorageMigration, StorageMigrationResult, StorageNamespace, StorageNumberOrResult, StorageNumberResult, StoragePresenceResult, StorageRemoveItemResult, StorageRemoveItemsResult, StorageSetItemResult, StorageSetItemsResult, StorageSignals } from '@flighthq/types/contract'; export declare function attachStorage(hostStorageChange: Readonly, signals: StorageSignals): boolean; export declare function clearStorage(hostStorage: Readonly, signals?: StorageSignals | null): StorageClearResult; export declare function clearStorageNamespace(hostStorage: Readonly, namespace: Readonly, signals?: StorageSignals | null): StorageClearNamespaceResult; export declare function createStorageSignals(): StorageSignals; export declare function destroyStorage(hostStorageChange: Readonly): void; export declare function detachStorage(signals: StorageSignals): void; export declare function disposeStorage(signals: StorageSignals): void; export declare function getNamespacedStorageByteSize(hostStorage: Readonly, namespace: Readonly): StorageByteSizeResult; export declare function getNamespacedStorageEntries(hostStorage: Readonly, namespace: Readonly): StorageEntriesResult; export declare function getNamespacedStorageItem(hostStorage: Readonly, namespace: Readonly, key: string): StorageGetItemResult; export declare function getNamespacedStorageItemPresence(hostStorage: Readonly, namespace: Readonly, key: string): StoragePresenceResult; export declare function getNamespacedStorageKeys(hostStorage: Readonly, namespace: Readonly): StorageKeysResult; export declare function getStorageBoolean(hostStorage: Readonly, key: string): StorageBooleanResult; export declare function getStorageBooleanOr(hostStorage: Readonly, key: string, fallback: boolean): StorageBooleanOrResult; export declare function getStorageByteSize(hostStorage: Readonly): StorageByteSizeResult; export declare function getStorageEntries(hostStorage: Readonly): StorageEntriesResult; export declare function getStorageItem(hostStorage: Readonly, key: string): StorageGetItemResult; export declare function getStorageItemCount(hostStorage: Readonly): StorageItemCountResult; export declare function getStorageItemOr(hostStorage: Readonly, key: string, fallback: string): StorageItemOrResult; export declare function getStorageItemPresence(hostStorage: Readonly, key: string): StoragePresenceResult; export declare function getStorageItems(hostStorage: Readonly, keys: readonly string[]): StorageItemsResult; export declare function getStorageJSON(hostStorage: Readonly, key: string): StorageJsonResult; export declare function getStorageJSONOr(hostStorage: Readonly, key: string, fallback: Value): StorageJsonOrResult; export declare function getStorageKeys(hostStorage: Readonly): StorageKeysResult; export declare function getStorageNumber(hostStorage: Readonly, key: string): StorageNumberResult; export declare function getStorageNumberOr(hostStorage: Readonly, key: string, fallback: number): StorageNumberOrResult; export declare function initializeStorageSignals(out: EntityConstruction): void; export declare function migrateStorage(hostStorage: Readonly, namespace: Readonly | null, migrations: readonly Readonly[], signals?: StorageSignals | null): StorageMigrationResult; export declare function removeNamespacedStorageItem(hostStorage: Readonly, namespace: Readonly, key: string, signals?: StorageSignals | null): StorageRemoveItemResult; export declare function removeStorageItem(hostStorage: Readonly, key: string, signals?: StorageSignals | null): StorageRemoveItemResult; export declare function removeStorageItems(hostStorage: Readonly, keys: readonly string[], signals?: StorageSignals | null): StorageRemoveItemsResult; export declare function setNamespacedStorageItem(hostStorage: Readonly, namespace: Readonly, key: string, value: string, signals?: StorageSignals | null): StorageSetItemResult; export declare function setStorageBoolean(hostStorage: Readonly, key: string, value: boolean, signals?: StorageSignals | null): StorageSetItemResult; export declare function setStorageItem(hostStorage: Readonly, key: string, value: string, signals?: StorageSignals | null): StorageSetItemResult; export declare function setStorageItems(hostStorage: Readonly, record: Readonly>, signals?: StorageSignals | null): StorageSetItemsResult; export declare function setStorageJSON(hostStorage: Readonly, key: string, value: Value, signals?: StorageSignals | null): StorageJsonWriteResult; export declare function setStorageNumber(hostStorage: Readonly, key: string, value: number, signals?: StorageSignals | null): StorageSetItemResult; //# sourceMappingURL=storage.d.ts.map