import type { DeployApiClientOptions, DeployEnvironment, DeployProject, DeployQueryValueList } from "./common/types.js"; export declare const fetchProjects: (options: DeployApiClientOptions, query?: Record) => Promise; export type FetchAllProjectsResult = { totalCount?: number; pageSize: number; items: DeployProject[]; }; /** * Walk every page of `/api/projects/v2`. Mirrors `fetchAllEnvironments` * — same backstop, same break conditions, same default page size. */ export declare const fetchAllProjects: (options: DeployApiClientOptions, pageSize?: number) => Promise; export declare const fetchProjectsLimitation: (options: DeployApiClientOptions) => Promise; export declare const validateProjectName: (options: DeployApiClientOptions, name: string) => Promise; export declare const fetchProject: (options: DeployApiClientOptions, projectId: string) => Promise; export declare const createProject: (options: DeployApiClientOptions, body: Record) => Promise; export declare const deleteProject: (options: DeployApiClientOptions, projectId: string) => Promise; export declare const updateProject: (options: DeployApiClientOptions, projectId: string, body: Record) => Promise; export declare const linkProjectRepository: (options: DeployApiClientOptions, projectId: string, body: Record) => Promise; export declare const unlinkProjectRepository: (options: DeployApiClientOptions, projectId: string) => Promise; export declare const fetchProjectEnvironments: (options: DeployApiClientOptions, projectId: string, query?: Record) => Promise; export type FetchAllProjectEnvironmentsResult = { totalCount?: number; pageSize: number; items: DeployEnvironment[]; }; export declare const fetchAllProjectEnvironments: (options: DeployApiClientOptions, projectId: string, pageSize?: number) => Promise; export declare const createProjectEnvironment: (options: DeployApiClientOptions, projectId: string, body: Record) => Promise;