import type { APIOptions } from "@khanacademy/perseus";
/**
 * Removes non-serializable functions and React components from APIOptions
 * before sending via postMessage.
 *
 * All function callbacks and React components are removed as they cannot be
 * cloned by the structured clone algorithm used by postMessage.
 *
 * Serializable options (booleans, strings, numbers) are preserved.
 */
export declare function sanitizeApiOptions(apiOptions: APIOptions): Partial<APIOptions> | null;
