import { resourceToHandlers } from './to-handlers.js'; import { MethodNotAllowedError } from './errors.js'; import { encodeCursor, decodeCursor, buildPage } from './paginate.js'; import { validateBatchRequest } from './batch.js'; import { buildResource } from './builder.js'; /** REST resource builder namespace — declarative CRUD with cursor pagination and batch operations. */ export declare const fixture: { /** Converts a Resource into fitted Handler[] that go through the standard handler pipeline. */ toHandlers: typeof resourceToHandlers; /** Builds a Resource from a name, operations map, and builder state — used internally by fitting().fixture(). */ build: typeof buildResource; /** Encodes pagination cursor values into an opaque base64 string. */ encodeCursor: typeof encodeCursor; /** Decodes an opaque pagination cursor back into its values. */ decodeCursor: typeof decodeCursor; /** Builds a PageResult from rows, limit, and cursor extractor — handles hasMore detection. */ buildPage: typeof buildPage; /** Validates a batch request body (preview/execute mode, targets, actions). */ validateBatch: typeof validateBatchRequest; /** Thrown when a resource doesn't support the requested HTTP method. */ MethodNotAllowedError: typeof MethodNotAllowedError; }; //# sourceMappingURL=namespace.d.ts.map