import { Construct } from "aws-cdk-lib"; import { Domain } from "./domain"; import { RootDomain } from "./root-domain"; export interface RoutingOptions { /** * The base domain name (e.g. "example.com") */ baseDomainName: string; /** * Subdomain to use for the API (e.g. "api" for api.example.com) * * @default "api" */ apiSubdomain?: string; /** * Subdomain to use for authentication (e.g. "auth" for auth.example.com) * * @default "auth" */ authSubdomain?: string; } export interface RoutingProps extends RoutingOptions { } /** * A Construct to create and manage the application's custom domains */ export declare class Routing extends Construct { readonly rootDomain: RootDomain; readonly apiDomain: Domain; readonly authDomain: Domain; constructor(scope: Construct, props: RoutingProps); }