import { Type, type Static } from "typebox"; import type { HttpTransport } from "../transports/http"; export declare const APPLICATION_PREVIEW_ACTIONS: readonly ["get_preview_plan", "create_preview", "list_previews", "get_preview", "reconcile_preview", "cleanup_preview"]; export declare const APPLICATION_PREVIEW_FIELDS: { preview_id: Type.TOptional; branch_ref: Type.TOptional; branch_name: Type.TOptional; data_mode: Type.TOptional>; ttl_seconds: Type.TOptional; wait: Type.TOptional; timeout_seconds: Type.TOptional; }; declare const receiptSchema: Type.TObject<{ schema: Type.TLiteral<"supacloud.application-preview.v1">; preview_id: Type.TString; project_ref: Type.TString; application_id: Type.TString; environment_id: Type.TString; release_id: Type.TString; expires_at: Type.TOptional>; status: Type.TEnum<("ready" | "failed" | "cleaned" | "planned" | "provisioning")[]>; resources: Type.TObject<{ build_artifact: Type.TObject<{ status: Type.TEnum<("pending" | "ready" | "failed" | "cleaned")[]>; release_id: Type.TString; }>; database_branch: Type.TObject<{ status: Type.TEnum<("pending" | "ready" | "failed" | "cleaned")[]>; branch_ref: Type.TString; data_mode: Type.TEnum<("schema_only" | "full_clone")[]>; }>; queue_namespace: Type.TObject<{ status: Type.TEnum<("pending" | "ready" | "failed" | "cleaned")[]>; namespace: Type.TString; }>; storage_namespace: Type.TObject<{ status: Type.TEnum<("pending" | "ready" | "failed" | "cleaned")[]>; namespace: Type.TString; }>; test_secret: Type.TObject<{ status: Type.TEnum<("pending" | "ready" | "failed" | "cleaned")[]>; name: Type.TString; value_issued: Type.TLiteral; }>; configuration_revision: Type.TObject<{ status: Type.TEnum<("pending" | "ready" | "failed" | "cleaned")[]>; configuration_id: Type.TUnion<[Type.TString, Type.TNull]>; }>; application_activation: Type.TObject<{ status: Type.TEnum<("pending" | "ready" | "failed" | "cleaned")[]>; activation_id: Type.TUnion<[Type.TString, Type.TNull]>; }>; smoke_test: Type.TObject<{ status: Type.TEnum<("pending" | "ready" | "failed" | "cleaned")[]>; checks: Type.TArray; passed: Type.TArray; failed: Type.TArray; }>; }>; cleanup: Type.TObject<{ required: Type.TBoolean; completed: Type.TBoolean; error: Type.TUnion<[Type.TString, Type.TNull]>; }>; branch_name: Type.TOptional; queue_name: Type.TOptional; test_secret_name: Type.TOptional; source_configuration_id: Type.TOptional>; created_at: Type.TOptional; updated_at: Type.TOptional; }>; export declare function applicationPreviewAction(http: HttpTransport, args: Record, project: string): Promise; export type ApplicationPreviewReceipt = Static; export {};