/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ /** * An ES Module object with a default export of the given type. * * @see {@link injectAsync} * @see [Route#loadComponent](/api/router/Route#loadComponent) * @see [LoadChildrenCallback](/api/router/LoadChildrenCallback) * * @publicApi */ export interface DefaultExport { /** * Default exports are bound under the name `"default"`, per the ES Module spec: * https://tc39.es/ecma262/#table-export-forms-mapping-to-exportentry-records */ default: T; } export declare function maybeUnwrapDefaultExport(input: T | DefaultExport): T;