import * as React from 'react'; import { ISectionConnection } from '../../../connectors'; export type JaenSectionType = { id: string; /** * Position of the section inside its SectionField */ position: number; path: Array<{ fieldName: string; sectionId?: string; }>; Component?: ISectionConnection; }; export declare const SectionOptionsContext: React.Context<{ name: string; displayName: string; } | undefined>; export declare const JaenSectionContext: React.Context<(JaenSectionType & { register: (props: object) => void; }) | undefined>; export declare const JaenSectionProvider: React.NamedExoticComponent; /** * Access the JaenSectionContext. * * @example * ``` * const { name } = useJaenSectionContext() * ``` */ export declare const useJaenSectionContext: () => (JaenSectionType & { register: (props: object) => void; }) | undefined;