import type { RemoteResult, TypertRemoteInfo, TypertRemoteMethod } from '@deepseek-ai/dsh-typert-protocol'; import type { ConnectionTestResult, MailSnapshot, MailStatus, MailboxPatch } from './types.js'; export declare const TYPERT_REMOTE: TypertRemoteInfo<{ readonly "mail-gateway/get": TypertRemoteMethod<{}, MailSnapshot>; readonly "mail-gateway/saveMailbox": TypertRemoteMethod<{ patch: MailboxPatch; }, MailSnapshot>; readonly "mail-gateway/saveWhitelist": TypertRemoteMethod<{ addresses: readonly string[]; }, MailSnapshot>; readonly "mail-gateway/testConnection": TypertRemoteMethod<{ patch: MailboxPatch; }, ConnectionTestResult>; readonly "mail-gateway/status": TypertRemoteMethod<{}, MailStatus>; }>; declare module '@deepseek-ai/dsh-typert-protocol' { interface TypertRemoteNamespace$6d61696c2d67617465776179 { get: () => Promise>; saveMailbox: (patch: MailboxPatch) => Promise>; saveWhitelist: (addresses: string[]) => Promise>; testConnection: (patch: MailboxPatch) => Promise>; status: () => Promise>; } interface TypertRemoteMap { 'mail-gateway/get': () => Promise>; 'mail-gateway/saveMailbox': (patch: MailboxPatch) => Promise>; 'mail-gateway/saveWhitelist': (addresses: string[]) => Promise>; 'mail-gateway/testConnection': (patch: MailboxPatch) => Promise>; 'mail-gateway/status': () => Promise>; } interface TypertRemoteNamespaceMap { 'mail-gateway': TypertRemoteNamespace$6d61696c2d67617465776179; } } export default TYPERT_REMOTE;