import { APIResource } from "../../../core/resource.js"; import { CursorPaginationAfter, type CursorPaginationAfterParams, PagePromise } from "../../../core/pagination.js"; import { RequestOptions } from "../../../internal/request-options.js"; export declare class BaseObjects extends APIResource { static readonly _key: readonly ['durableObjects', 'namespaces', 'objects']; /** * Returns the Durable Objects in a given namespace. */ list(id: string, params: ObjectListParams, options?: RequestOptions): PagePromise; } export declare class Objects extends BaseObjects { } export type DurableObjectsCursorPaginationAfter = CursorPaginationAfter; export interface DurableObject { /** * ID of the Durable Object. */ id?: string; /** * Whether the Durable Object has stored data. */ hasStoredData?: boolean; } export interface ObjectListParams extends CursorPaginationAfterParams { /** * Path param: Identifier. */ account_id: string; /** * Query param: The number of objects to return. The cursor attribute may be used * to iterate over the next batch of objects if there are more than the limit. */ limit?: number; } export declare namespace Objects { export { type DurableObject as DurableObject, type DurableObjectsCursorPaginationAfter as DurableObjectsCursorPaginationAfter, type ObjectListParams as ObjectListParams, }; } //# sourceMappingURL=objects.d.ts.map