import '../assert_dev_env.js';
import { type BackendCapabilities } from './capabilities.js';
import type { SetupTest } from './setup.js';
/** Configuration for {@link describe_cross_process_sse_tests}. */
export interface CrossProcessSseTestOptions {
    /**
     * Per-test fixture producer (`default_cross_process_setup(handle)`). Each
     * case reads the fresh-per-test keeper's session cookies from
     * `fixture.transport.cookies()` to thread onto the stream. The keeper
     * holds `ROLE_ADMIN` by default, so it can subscribe to the admin-gated
     * audit stream and drive `admin_session_revoke_all`.
     */
    readonly setup_test: SetupTest;
    /** Backend capability flags; every case gates on `capabilities.sse`. */
    readonly capabilities: BackendCapabilities;
    /** Base URL the backend is reachable at (e.g. `http://localhost:1178`). */
    readonly base_url: string;
    /** SSE stream path on the backend. Defaults to `/api/admin/audit/stream`. */
    readonly sse_path?: string;
    /**
     * RPC endpoint path (e.g. `/api/rpc`) used by the data-frame and
     * close-on-revoke cases to fire `admin_session_revoke_all` /
     * `account_session_revoke_all` over the keeper's session channel. When
     * omitted, those cases are skipped — they depend on the standard account
     * + admin actions being mounted on the RPC endpoint.
     */
    readonly rpc_path?: string;
    /** Origin for the stream request. Defaults to `base_url`. */
    readonly origin?: string;
}
/**
 * Register the cross-process SSE round-trip suite. Up to four cases over a
 * real streaming `fetch`: connected-comment, audit data frame, account-wide
 * close-on-revoke, and session-scoped close-on-revoke.
 */
export declare const describe_cross_process_sse_tests: (options: CrossProcessSseTestOptions) => void;
//# sourceMappingURL=sse_round_trip.d.ts.map