import type { MessengerAdapter } from './types.js'; export declare function processRestartPending(defaultAgent: string): Promise; /** Look up the messenger that should ack a restart. * * The wechat-ilink adapter registers as "wechat-ilink" but tags every * inbound MessageContext with platform="wechat", so the persisted * initiator.platform is the short form. Try the exact name first to * preserve behavior for telegram / feishu / dingtalk / discord (where * both sides agree), then fall back to a prefix scan so "wechat" finds * "wechat-ilink" — and any future "wechat-padlocal" etc. would also * resolve transparently. */ export declare function resolveMessenger(platform: string): MessengerAdapter | undefined; /** Returns true if the running process appears to be inside a restart * (state file exists, fresh). Useful for log lines / startup ordering. */ export declare function isInsideRestart(): boolean; //# sourceMappingURL=restart-completion.d.ts.map