import { sessionAuth } from './security.ts'; import { z } from './zod-openapi.ts'; export declare const SessionResourceIdentifier: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"sessions">; }, z.core.$strict>; export declare const SessionResource: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"sessions">; attributes: z.ZodObject<{ role: z.ZodOptional>; }, z.core.$strict>; relationships: z.ZodObject<{ runs: z.ZodObject<{ data: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>; declare const basicAuth: { name: string; ref: { $ref: string; }; }; export declare const sessionRoutes: { '/': { post: { description: string; security: { [basicAuth.name]: never[]; }[]; request: { body: { required: true; content: { "application/vnd.api+json": { schema: z.ZodObject<{ data: z.ZodObject<{ type: z.ZodLiteral<"sessions">; attributes: z.ZodObject<{ role: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strip>; }; }; }; headers: z.ZodObject<{ authorization: z.ZodOptional; }, z.core.$loose>; }; responses: { 201: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"sessions">; attributes: z.ZodObject<{ role: z.ZodOptional>; }, z.core.$strict>; relationships: z.ZodObject<{ runs: z.ZodObject<{ data: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strip>; }; }; headers: z.ZodObject<{ location: z.ZodString; 'set-cookie': z.ZodString; }, z.core.$strict>; }; 403: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ errors: z.ZodArray>; status: z.ZodType<"Forbidden", unknown, z.core.$ZodTypeInternals<"Forbidden", unknown>>; detail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strict>; }; }; }; 409: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ errors: z.ZodArray>; status: z.ZodType<"Conflict", unknown, z.core.$ZodTypeInternals<"Conflict", unknown>>; detail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strict>; }; }; }; }; }; }; '/{id}': { get: { security: { [sessionAuth.name]: never[]; }[]; description: string; request: { params: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; query: z.ZodObject<{ include: z.ZodOptional, z.ZodArray>]>>; }, z.core.$strict>; }; responses: { 404: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ errors: z.ZodArray>; status: z.ZodType<"Not Found", unknown, z.core.$ZodTypeInternals<"Not Found", unknown>>; detail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strict>; }; }; }; 200: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"sessions">; attributes: z.ZodObject<{ role: z.ZodOptional>; }, z.core.$strict>; relationships: z.ZodObject<{ runs: z.ZodObject<{ data: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>; included: z.ZodOptional; attributes: z.ZodObject<{ status: z.ZodEnum<{ canceled: "canceled"; completed: "completed"; idle: "idle"; interrupted: "interrupted"; running: "running"; }>; name: z.ZodUnion; lastLogNumber: z.ZodNumber; firstMissingLogNumber: z.ZodUnion; }, z.core.$strict>; relationships: z.ZodObject<{ experiment: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"experiments">; }, z.core.$strict>; }, z.core.$strict>; lastLogs: z.ZodObject<{ data: z.ZodArray; }, z.core.$strict>>>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"logs">; attributes: z.ZodObject<{ number: z.ZodNumber; logType: z.ZodString; values: z.ZodRecord; }, z.core.$strict>; relationships: z.ZodObject<{ run: z.ZodObject<{ data: z.ZodLazy; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"experiments">; attributes: z.ZodObject<{ name: z.ZodString; }, z.core.$strict>; }, z.core.$strict>]>>>; }, z.core.$strip>; }; }; }; }; }; delete: { security: { [basicAuth.name]: never[]; }[]; description: string; request: { params: z.ZodObject<{ id: z.ZodString; }, z.core.$strict>; }; responses: { 404: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ errors: z.ZodArray>; status: z.ZodType<"Not Found", unknown, z.core.$ZodTypeInternals<"Not Found", unknown>>; detail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strict>; }; }; }; 200: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ data: z.ZodNull; }, z.core.$strip>; }; }; }; }; }; }; }; export {};