import { z } from "zod"; import type { NolSandboxContext } from "./model-serving.js"; import type { NolPeftModelAuthorityService } from "./peft-model-authority.js"; /** Dedicated host-authorized action extension. The parent entry supplies actor, * project and authorization; none may be taken from a JSON request body. */ export declare const NolPeftModelActionRequestSchema: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"models.peft.profile.submit">; profileId: z.ZodString; }, z.core.$strict>, ...z.ZodObject<{ action: z.ZodLiteral<"models.peft.profile.status" | "models.peft.profile.cancel" | "models.peft.profile.recover">; jobId: z.ZodString; }, z.core.$strict>[] ], "action">; export type NolPeftModelActionRequest = z.infer; export declare class NolPeftModelActions { private readonly authority; private readonly background; constructor(authority: NolPeftModelAuthorityService); handle(value: unknown, context: NolSandboxContext): Promise<{ action: "models.peft.profile.submit"; jobId: string; status: "submitted"; } | { conformance?: { authorityId: string; recordId: string; artifact: any; } | undefined; jobId: string; profileId: any; status: import("../_types/orchestrator/nol/store.js").NolJobStatus; generation: number; cleanupGeneration: number | null; active: boolean; action: "models.peft.profile.status" | "models.peft.profile.cancel" | "models.peft.profile.recover"; }>; stopOwned(context: NolSandboxContext): Promise; shutdown(): Promise; }