import { Action } from './Action'; declare type WorkfuncHttp = { method: Array<'GET' | 'POST' | 'PUT' | 'PATCH' | 'HEAD' | 'OPTIONS' | 'DELETE'>; path: string; }; declare type Workfunc = { asynchronousThreshold: number; handler: string; http: WorkfuncHttp; name: string; timeout: number; }; declare type CommitHead = { date: string; hash: string; message: string; refs: string; }; declare type EnvironmentProps = { commit_head?: CommitHead; environment_variables?: Record; project_id: string; regions: Array; resources: Array; stage: 'prod' | 'dev'; }; export declare class Environment extends Action { files: Array; commit_head?: CommitHead; environment_variables?: Record; project_id: string; regions: Array; resources: Array; stage: 'prod' | 'dev'; constructor({ commit_head, environment_variables, project_id, regions, resources, stage, }: EnvironmentProps); create(): { functions: { handler: string; asynchronousThreshold: number; http: WorkfuncHttp; name: string; timeout: number; gitCommitLatest?: CommitHead | undefined; }[]; prod: boolean; projectId: string; regions: string[]; }; deploy(): any[]; commit(): { deployUid: any; env: Record | undefined; prod: boolean; projectId: string; regions: string[]; }; } export {};