import { mediaType } from './vocabulary.ts'; import { z } from './zod-openapi.ts'; export declare const LogResourceIdentifier: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"logs">; }, z.core.$strict>; export declare const LogResource: 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>; export declare const logRoutes: { '/': { get: { request: { query: z.ZodObject<{ include: z.ZodOptional, z.ZodArray>]>>; 'filter[logType]': z.ZodOptional]>>; 'filter[experiment.id]': z.ZodOptional]>>; 'filter[experiment.name]': z.ZodOptional]>>; 'filter[run.name]': z.ZodOptional]>>; 'filter[run.id]': z.ZodOptional]>>; }, z.core.$strict>; headers: z.ZodObject<{ accept: z.ZodType<(string & {}) | 'text/csv' | typeof mediaType>; }, z.core.$loose>; }; responses: { 200: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ data: z.ZodArray; 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>>; 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<"experiments">; attributes: z.ZodObject<{ name: z.ZodString; }, 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.core.$strip>; }; 'text/csv': { schema: z.ZodString; }; }; }; 400: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ errors: z.ZodArray>; status: z.ZodType<"Bad Request", unknown, z.core.$ZodTypeInternals<"Bad Request", unknown>>; detail: z.ZodOptional; source: z.ZodObject<{ parameter: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>; }; }; }; }; }; post: { description: string; request: { body: { required: true; content: { "application/vnd.api+json": { schema: z.ZodObject<{ data: z.ZodObject<{ 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.core.$strict>; }; }; }; }; responses: { 201: { description: string; headers: z.ZodObject<{ location: z.ZodString; }, z.core.$strict>; content: { "application/vnd.api+json": { schema: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"logs">; }, z.core.$strict>; }, z.core.$strip>; }; }; }; 200: { description: string; headers: z.ZodObject<{ location: z.ZodString; }, z.core.$strict>; content: { "application/vnd.api+json": { schema: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"logs">; }, z.core.$strict>; }, z.core.$strip>; }; }; }; 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>; }; }; }; 413: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ errors: z.ZodArray>; status: z.ZodType<"Payload Too Large", unknown, z.core.$ZodTypeInternals<"Payload Too Large", unknown>>; detail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strict>; }; }; }; }; }; }; '/{id}': { get: { description: string; request: { params: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; query: z.ZodObject<{ include: z.ZodOptional, z.ZodArray>]>>; }, z.core.$strict>; }; responses: { 200: { description: string; content: { "application/vnd.api+json": { schema: z.ZodObject<{ data: 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>; 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<"experiments">; attributes: z.ZodObject<{ name: z.ZodString; }, 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.core.$strip>; }; }; }; 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>; }; }; }; }; }; }; };