import type { AnyState } from '@zubridge/types';
/**
 * Removes functions and non-serializable objects from a state object
 * to prevent IPC serialization errors when sending between processes
 *
 * @param state The state object to sanitize
 * @returns A new state object with functions and non-serializable parts removed
 */
export declare const sanitizeState: (state: AnyState) => Record<string, unknown>;
