import { PrismaService } from '@hed-hog/api-prisma';
export declare class OAuthCallbackCoordinatorService {
    private readonly prisma;
    private readonly logger;
    private readonly completedCallbacks;
    private readonly completedTtlMs;
    constructor(prisma: PrismaService);
    execute<T>(callbackKey: string, callback: () => Promise<T>): Promise<T>;
    private executeWithPostgresLock;
    private executeWithMysqlLock;
    private shouldMarkCompleted;
    private isCompleted;
    private markCompleted;
    private pruneCompletedCallbacks;
    private toSignedBigInt;
    private toMysqlLockName;
}
//# sourceMappingURL=oauth-callback-coordinator.service.d.ts.map