export interface Environment {
    id: string;
    name: string;
    url: string;
    authPresetName: string | null;
    projectId: string | null;
    isDefault: boolean;
    variables: Record<string, string>;
    createdAt: string;
}
export declare function createEnvironment(input: {
    name: string;
    url: string;
    authPresetName?: string;
    projectId?: string;
    isDefault?: boolean;
    variables?: Record<string, string>;
}): Environment;
export declare function getEnvironmentById(id: string): Environment | null;
export declare function updateEnvironment(id: string, input: {
    name?: string;
    url?: string;
    isDefault?: boolean;
    variables?: Record<string, string>;
}): Environment;
export declare function deleteEnvironmentById(id: string): boolean;
export declare function getEnvironment(name: string): Environment | null;
export declare function listEnvironments(projectId?: string): Environment[];
export declare function deleteEnvironment(name: string): boolean;
export declare function setDefaultEnvironment(name: string): void;
export declare function getDefaultEnvironment(): Environment | null;
//# sourceMappingURL=environments.d.ts.map