import type { StorefrontResourceResult } from './storefront-resources.js'; export interface CreateAppResultInput { frontend: string | null; name: string; path: string; privateId: string; resources?: StorefrontResourceResult; type: string; } export interface CreateAppResult { app: { name: string; privateId: string; resourceId: string | null; type: string; }; frontend: string | null; path: string; storefront: { resourceId: string; } | null; } /** * Build the stable JSON contract for every `swell create app` variant. * Remote resource IDs are nullable because only provisioning frontends create * them; the shape itself never changes by app type or frontend. * * @param input completed local and optional remote creation result * @returns serializable command result */ export declare function buildCreateAppResult(input: CreateAppResultInput): CreateAppResult;