import { NuxtLayouts } from "../../pages/runtime/composables.js"; import { ComputedRef } from "vue"; import { RouteLocationNormalizedLoaded } from "vue-router"; //#region src/app/composables/layout.d.ts export type LayoutName = keyof NuxtLayouts | 'default' | false; export declare function resolveLayoutName(route: Pick | undefined, name?: unknown): LayoutName; /** * Returns the layout rendered for the current route, resolved through the same chain as * `` (page `layout` meta, then the route rules `appLayout`, then `default`). * * Within a rendered `` it reflects the enclosing layout; outside of one it * returns the layout that would be resolved for the current route. * @since 4.5.0 */ export declare function useLayout(): Readonly>; //#endregion