import { Construct } from "constructs";
import { PluginRegistration } from "./plugins/registration";
import { DataStack } from "./data-stack";
import { CredsStack } from "./creds-stack";
import { WebStack } from "./web-stack";
import { WebCertStack } from "./web-cert-stack";
import { NetworkStack } from "./network-stack";
import type { ProjectConfig } from "./project-config";
import type { ResolvedSite } from "./network-validation";
export interface AccessPortalProps {
    readonly project: ProjectConfig;
    /** SET ONCE — every by-name cross-account contract derives from it. */
    readonly resourcePrefix: string;
    readonly sites?: ResolvedSite[];
    /** Overrides the bundled web app (tests point it at a stub). */
    readonly webAssetPath?: string;
    /** Customer plugins (`definePlugin` results). Requires `project.plugins.enabled`. */
    readonly plugins?: readonly PluginRegistration[];
}
export interface AccessPortal {
    readonly dataStack: DataStack;
    readonly credsStack: CredsStack;
    /** us-east-1 companion: issuer + web certificates and the CloudFront web
     *  ACL. Always present — CredsStack depends on it. */
    readonly webCertStack: WebCertStack;
    readonly webStack: WebStack;
    /** Present only when `project.network` + `sites` are set. */
    readonly networkStack?: NetworkStack;
}
/** Every hub stack as one unit — NOT a `cdk.Stage`: a Stage prefixes every
 *  construct path, renaming physical names and replacing live resources. */
export declare function addAccessPortal(scope: Construct, props: AccessPortalProps): AccessPortal;
