import type { RpcCommand } from "./rpc-types.ts";
import type { RouterContext } from "./session-router-context.ts";
/** The existing attempt index also owns mirror answers and late cleanup by the returned server ID. */
export declare function compactSubscribe(host: RouterContext, command: Extract<RpcCommand, {
    type: "subscribe_sessions";
}>): Promise<{
    id: string | undefined;
    type: "response";
    command: "subscribe_sessions";
    success: false;
    code: string;
    errorCode: string;
    error: string;
    admissionId: string;
    generation: number;
} | import("./rpc-response-types.ts").RpcResponse | undefined>;
//# sourceMappingURL=compact-subscribe-admission.d.ts.map