import { Environment } from "@kosko/env"; import { DeploymentParams } from "@socialgouv/kosko-charts/utils/createDeployment"; import { IngressConfig as IngressParams } from "@socialgouv/kosko-charts/utils/createIngress"; import { CreateServiceParams } from "@socialgouv/kosko-charts/utils/createService"; declare type AliasParams = { hosts: string[]; destination: string; }; export declare type AppConfig = DeploymentParams & CreateServiceParams & IngressParams & { subdomain: string; subDomainPrefix: string; domain: string; labels: Record; ingress: boolean; withPostgres: boolean; withRedirections?: AliasParams; }; export declare type CreateFnDeploymentArgs = Partial>; export declare type CreateFnArgs = { env: Environment; config?: Partial; deployment?: CreateFnDeploymentArgs; }; export declare type CreateFn = (name: string, { env, config, deployment: deploymentParams }: CreateFnArgs) => Promise<{ kind: string; }[]>; export declare const create: CreateFn; export {};