import { MixedSection, PageConfig, Section } from '../../state'; /** * Searches all section areas for sections which satisfy the provided callback * function and returns a single array of matching sections. * * @example * ```tsx * const matches = findSections(pageConfig, (areaSections: Section[]) => * areaSections.filter((section) => section.component === 'Embed') * ); * ``` */ export declare function findSections(pageConfig: PageConfig, callback: (areaSections: Section[]) => Section[]): Section[]; /** * Returns array of sections with a particular component type * * @example * ```tsx * const matches = findSectionsOfComponentType(mainSections, 'Embed'); * ``` */ export declare function findSectionsOfComponentType(areaSections: Section[] | undefined, component: string): Section[]; //# sourceMappingURL=section-search.d.ts.map