| 1823 | cacheStatus: string | null; |
| 1824 | }; |
| 1825 | interface KVNamespace<Key extends string = string> { |
| 1826 | get(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>): Promise<string | null>; |
| 1827 | get(key: Key, type: "text"): Promise<string | null>; |
| 1828 | get<ExpectedValue = unknown>(key: Key, type: "json"): Promise<ExpectedValue | null>; |
| 1829 | get(key: Key, type: "arrayBuffer"): Promise<ArrayBuffer | null>; |
| 1830 | get(key: Key, type: "stream"): Promise<ReadableStream | null>; |
| 1831 | get(key: Key, options?: KVNamespaceGetOptions<"text">): Promise<string | null>; |
| 1832 | get<ExpectedValue = unknown>(key: Key, options?: KVNamespaceGetOptions<"json">): Promise<ExpectedValue | null>; |
| 1833 | get(key: Key, options?: KVNamespaceGetOptions<"arrayBuffer">): Promise<ArrayBuffer | null>; |
| 1834 | get(key: Key, options?: KVNamespaceGetOptions<"stream">): Promise<ReadableStream | null>; |
| 1835 | get(key: Array<Key>, type: "text"): Promise<Map<string, string | null>>; |
| 1836 | get<ExpectedValue = unknown>(key: Array<Key>, type: "json"): Promise<Map<string, ExpectedValue | null>>; |
| 1837 | get(key: Array<Key>, options?: Partial<KVNamespaceGetOptions<undefined>>): Promise<Map<string, string | null>>; |
| 1838 | get(key: Array<Key>, options?: KVNamespaceGetOptions<"text">): Promise<Map<string, string | null>>; |
| 1839 | get<ExpectedValue = unknown>(key: Array<Key>, options?: KVNamespaceGetOptions<"json">): Promise<Map<string, ExpectedValue | null>>; |
| 1840 | list<Metadata = unknown>(options?: KVNamespaceListOptions): Promise<KVNamespaceListResult<Metadata, Key>>; |
| 1841 | put(key: Key, value: string | ArrayBuffer | ArrayBufferView | ReadableStream, options?: KVNamespacePutOptions): Promise<void>; |
| 1842 | getWithMetadata<Metadata = unknown>(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>; |
| 1843 | getWithMetadata<Metadata = unknown>(key: Key, type: "text"): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>; |
| 1844 | getWithMetadata<ExpectedValue = unknown, Metadata = unknown>(key: Key, type: "json"): Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>; |
| 1845 | getWithMetadata<Metadata = unknown>(key: Key, type: "arrayBuffer"): Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>; |
| 1846 | getWithMetadata<Metadata = unknown>(key: Key, type: "stream"): Promise<KVNamespaceGetWithMetadataResult<ReadableStream, Metadata>>; |
| 1847 | getWithMetadata<Metadata = unknown>(key: Key, options: KVNamespaceGetOptions<"text">): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>; |
| 1848 | getWithMetadata<ExpectedValue = unknown, Metadata = unknown>(key: Key, options: KVNamespaceGetOptions<"json">): Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>; |
| 1849 | getWithMetadata<Metadata = unknown>(key: Key, options: KVNamespaceGetOptions<"arrayBuffer">): Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>; |
| 1850 | getWithMetadata<Metadata = unknown>(key: Key, options: KVNamespaceGetOptions<"stream">): Promise<KVNamespaceGetWithMetadataResult<ReadableStream, Metadata>>; |
| 1851 | getWithMetadata<Metadata = unknown>(key: Array<Key>, type: "text"): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>; |
| 1852 | getWithMetadata<ExpectedValue = unknown, Metadata = unknown>(key: Array<Key>, type: "json"): Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>; |
| 1853 | getWithMetadata<Metadata = unknown>(key: Array<Key>, options?: Partial<KVNamespaceGetOptions<undefined>>): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>; |
| 1854 | getWithMetadata<Metadata = unknown>(key: Array<Key>, options?: KVNamespaceGetOptions<"text">): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>; |
| 1855 | getWithMetadata<ExpectedValue = unknown, Metadata = unknown>(key: Array<Key>, options?: KVNamespaceGetOptions<"json">): Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>; |
| 1856 | delete(key: Key): Promise<void>; |
| 1857 | } |
| 1858 | interface KVNamespaceListOptions { |
| 1859 | limit?: number; |
| 1860 | prefix?: (string | null); |
no outgoing calls
no test coverage detected