import { APIResource } from "../../../resource.js";
import * as Core from "../../../core.js";
import * as ObjectsAPI from "./objects.js";
import { DurableObject, DurableObjectsCursorPaginationAfter, ObjectListParams, Objects } from "./objects.js";
import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../../pagination.js";
export declare class Namespaces extends APIResource {
    objects: ObjectsAPI.Objects;
    /**
     * Returns the Durable Object namespaces owned by an account.
     */
    list(params: NamespaceListParams, options?: Core.RequestOptions): Core.PagePromise<NamespacesV4PagePaginationArray, Namespace>;
}
export declare class NamespacesV4PagePaginationArray extends V4PagePaginationArray<Namespace> {
}
export interface Namespace {
    id?: string;
    class?: string;
    name?: string;
    script?: string;
    use_sqlite?: boolean;
}
export interface NamespaceListParams extends V4PagePaginationArrayParams {
    /**
     * Path param: Identifier.
     */
    account_id: string;
}
export declare namespace Namespaces {
    export { type Namespace as Namespace, NamespacesV4PagePaginationArray as NamespacesV4PagePaginationArray, type NamespaceListParams as NamespaceListParams, };
    export { Objects as Objects, type DurableObject as DurableObject, DurableObjectsCursorPaginationAfter as DurableObjectsCursorPaginationAfter, type ObjectListParams as ObjectListParams, };
}
//# sourceMappingURL=namespaces.d.ts.map