import type { SkmtcRoot } from './skmtc-root.js'; import * as v from 'valibot'; import type { Project } from './project.js'; import { type ManifestContent } from '../../core/mod.js'; import type { RemoteProject } from './remote-project.js'; import type { ClientSettings } from '../types/clientSettings.generated.js'; import type { PrettierConfigType } from '../types/prettierConfigType.generated.js'; export type GenerateResponse = { artifacts: Record; manifest: ManifestContent; }; export declare const generateResponse: v.GenericSchema; type DeletePreviousArtifactsArgs = { skmtcRootPath: string; manifestPath: string; incomingPaths: string[]; }; export declare const deletePreviousArtifacts: ({ skmtcRootPath, incomingPaths, manifestPath }: DeletePreviousArtifactsArgs) => void; type GenerateArtifactsArgs = { project: Project | RemoteProject; schemaContents: string; clientSettings: ClientSettings | undefined; prettier: PrettierConfigType | undefined; accountName: string; token: string | undefined; }; type GetWorkspaceArgs = { project: Project; skmtcRoot: SkmtcRoot; }; export declare class Workspace { getWorkspace({ project, skmtcRoot }: GetWorkspaceArgs): Promise<{ id: string; name: string; label: string; baseFilesSha256: string | null; schema: { id: string; name: string; slug: string; openapiVersion: "3.0" | "3.1" | "2.0"; typespecSchemaId: string | null; public: boolean; format: "json" | "yaml"; sourceUrl: string | null; createdAt: string; iconKey?: string | null | undefined; }; server: { id: string; serverName: string; latestDeploymentId: string | null; latestDenoDeploymentId: string | null; denoProjectName: string; latestStatus: "success" | "pending" | "failed" | "deleted" | null; createdAt: string; updatedAt: string; }; clientSettings: { basePath?: string | undefined; packages?: { rootPath: string; moduleName?: string | undefined; }[] | undefined; enrichments?: Record>> | undefined; skip?: (string | Record | Record>)[] | undefined; }; createdAt: string; schemaContent?: string | undefined; }>; generateArtifacts({ project, schemaContents, clientSettings, prettier, accountName, token }: GenerateArtifactsArgs): Promise; } export {}; //# sourceMappingURL=workspace.d.ts.map