import { VisitorIdConditions } from "./types"; /** * Gate visitor identification behind the conditions configured for the project. * * `onOpen` runs at most once, as soon as every configured condition holds. With * no conditions it runs immediately, matching the previous unconditional * behaviour. Conditions are re-checked as time accrues and on SPA navigation, * so a visitor who reaches "/pricing" on their fourth page still qualifies. */ export declare function initVisitorIdGate(projectId: string, conditions: VisitorIdConditions | null | undefined, onOpen: () => void): void; /** Tear the gate down and forget its state. Intended for tests. */ export declare function resetVisitorIdGate(): void;