UNPKG

open-next-cdk

Version:

Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK

18 lines (17 loc) 639 B
import type { DefaultsMode, ResolvedDefaultsMode } from "@smithy/smithy-client"; import type { Provider } from "@smithy/types"; /** * @internal */ export interface ResolveDefaultsModeConfigOptions { defaultsMode?: DefaultsMode | Provider<DefaultsMode>; } /** * Validate the defaultsMode configuration. If the value is set to "auto", it * resolves the value to "mobile" if the app is running in a mobile browser, * otherwise it resolves to "standard". * * @default "legacy" * @internal */ export declare const resolveDefaultsModeConfig: ({ defaultsMode, }?: ResolveDefaultsModeConfigOptions) => Provider<ResolvedDefaultsMode>;