import type { IframeToParentMessage, ParentToIframeMessage } from "./message-types";
/**
 * Type guard to check if an object is an {@link IframeToParentMessage} type.
 *
 * This validates that the message has the correct structure and source
 * identifier to be from a Perseus preview iframe.
 *
 * @param message - Unknown message to validate
 * @returns True if message is a valid {@link IframeToParentMessage}
 */
export declare function isIframeToParentMessage(message: unknown): message is IframeToParentMessage;
/**
 * Type guard to check if a message is from the Perseus preview system parent.
 *
 * This validates that the message has the correct structure and source
 * identifier to be from a Perseus preview host.
 *
 * @param message - Unknown message to validate
 * @returns True if message is a valid {@link ParentToIframeMessage}
 */
export declare function isParentToIframeMessage(message: unknown): message is ParentToIframeMessage;
