/**
 * @param {import('@comapeo/core').MapeoManager} manager
 * @param {import('./lib/sub-channel.js').MessagePortLike} messagePort
 */
export function createMapeoServer(manager: import('@comapeo/core').MapeoManager, messagePort: import('./lib/sub-channel.js').MessagePortLike): {
    close(): void;
};
export class MapeoRpcApi {
    /**
     * @param {import('@comapeo/core').MapeoManager} manager
     */
    constructor(manager: import('@comapeo/core').MapeoManager);
    /**
     * @param {string} projectId
     * @returns {Promise<boolean>}
     */
    assertProjectExists(projectId: string): Promise<boolean>;
    #private;
}
