/** * Gets the ancestor origin of the custom app. * * @example * ```typescript * import { getAncestorOrigin } from '@cognite/app-sdk'; * * const ancestorOrigin = getAncestorOrigin(); * console.log(ancestorOrigin); * ``` * * @privateRemarks * The ancestor origin is the origin of the page that contains the iframe. * It is used to determine the origin of the page that the custom app is * running in. * * @returns the ancestor origin of the custom app. * @throws an error if the function is not called from within an iframe or * if there are no ancestor origins. */ export declare const getAncestorOrigin: () => string;