import type { RatelimitResponse } from "@unkey/ratelimit";
interface HandleAutoLockInput {
    identifier: string;
    identifierType: "email" | "userId" | "SMS" | "apiKey";
    rateLimitResponse: RatelimitResponse;
    identifierKeyword?: string;
    autolockThreshold?: number;
    autolockDuration?: number;
}
/**
 * The "Requests to Hit Limit × Threshold" shows how many requests would be needed to trigger an auto-lock if a user consistently hits
 * its their rate limit. For example, in the "core" * namespace, a user would need to make at least 50 requests (10 limit × 5 threshold)
 * within the 30-minute window to get auto-locked.
 */
export declare function handleAutoLock({ identifier: _identifier, identifierType, rateLimitResponse, identifierKeyword, autolockThreshold, autolockDuration, }: HandleAutoLockInput): Promise<boolean>;
export {};
//# sourceMappingURL=autoLock.d.ts.map