import type { CliId } from '../adapters/cli/types.js';
export { cliIdFromCommArgv } from './session-discovery.js';
export interface ZellijAdoptableSession {
    zellijSession: string;
    zellijPaneId: string;
    cliPid: number;
    cliId: CliId;
    sessionId?: string;
    cwd: string;
    startedAt?: number;
    paneCols: number;
    paneRows: number;
}
/**
 * Scan all live zellij sessions for adoptable CLIs. Skips bmx-* (botmux's own).
 * @param filterCliId only return sessions matching this CLI type.
 */
export declare function discoverAdoptableZellijSessions(filterCliId?: CliId): ZellijAdoptableSession[];
/** Re-confirm a zellij pane still runs the expected CLI pid (pre-adopt guard).
 *  `filterCliId` MUST mirror discovery's filter: a generic-named `agent` (Cursor)
 *  is only recognized as a CLI under the 'cursor' filter, so without it the
 *  expected pid is never re-identified and a live session looks exited. */
export declare function validateZellijAdoptTarget(session: string, paneId: string, expectedPid: number, filterCliId?: CliId): boolean;
//# sourceMappingURL=zellij-adopt-discovery.d.ts.map