import type { TConstValue } from '@venizia/ignis-helpers/common'; import type { TResponseHeaders } from './types/index.js'; /** * Constants with NO zod import, deliberately. The container's controller mixin imports * `ControllerTransports` from here, so anything this file pulls in reaches every consumer of * `Container` - the request schemas live in `schemas.ts` for exactly that reason. */ /** Transport protocol constants for controllers. */ export declare class ControllerTransports { static readonly REST = "rest"; static readonly GRPC = "grpc"; } export type TControllerTransport = TConstValue; /** Shape of `data` in a `{ count, data }` response, echoed in the `X-Response-Format` header. */ export declare class ResponseFormats { static readonly OBJECT = "object"; static readonly ARRAY = "array"; static readonly SCHEME_SET: Set; static isValid(value: string): boolean; } export type TResponseFormat = TConstValue; /** Standard REST API path constants for CRUD controllers. */ export declare class RestPaths { static readonly ROOT = "/"; static readonly COUNT = "/count"; static readonly FIND_ONE = "/find-one"; } export declare const commonResponseHeaders: TResponseHeaders; export declare const findResponseHeaders: TResponseHeaders; /** Which decorator-defined routes `registerRoutesFromRegistry` registers: STATIC (no path parameter), PARAM (a path parameter) or ALL. */ export declare class RoutePathScopes { static readonly STATIC = "static"; static readonly PARAM = "param"; static readonly ALL = "all"; static readonly SCHEME_SET: Set; static isValid(value: string): boolean; } /** Valid route path scope values. */ export type TRoutePathScope = TConstValue; //# sourceMappingURL=constants.d.ts.map