import type { AppCategory } from '@ankhorage/contracts'; import type { ProjectCreationValidationFailure, StudioProjectSummary } from '../projectWorkspaceContracts'; export interface CreateProjectResponse { success: boolean; id: string; path: string; } export interface SyncProjectResponse { success: boolean; } export interface UpProjectInfrastructureResponse { success: boolean; skipped?: string; target?: string; regenerated?: unknown; } export interface LaunchProjectResponse { success: boolean; skipped?: string; target?: string; url?: string; started?: boolean; } export interface CreateProjectInput { category: AppCategory; templateId: string; name: string; } export declare class ProjectCreationError extends Error { readonly reason: ProjectCreationValidationFailure; constructor(reason: ProjectCreationValidationFailure); } export declare const useProjects: () => { projects: StudioProjectSummary[]; isLoading: boolean; error: string | null; refresh: () => Promise; createProject: (input: CreateProjectInput) => Promise; deleteProject: (projectId: string) => Promise; syncProject: (projectId: string) => Promise; upProjectInfrastructure: (projectId: string) => Promise; launchProject: (projectId: string) => Promise; }; //# sourceMappingURL=useProjects.d.ts.map