import { IJaenPage, IJaenTemplate } from '../../../../types'; /** * Loads the possible templates for the page. * * page.template set: use templates->template.children * page.componentName set: load page -> templates from loadedPage.options.children * - if no templates found, use all templates * * @param page * @returns */ export declare const useTemplatesForPage: (page: IJaenPage | null) => { isLoading: boolean; templates: { name: string; displayName: string; }[]; allTemplates: IJaenTemplate[]; };