import { User } from '../../entities/user.entity';
import { ApiKeysService } from './api-keys.service';
export declare class ApiKeysController {
    private readonly apiKeysService;
    constructor(apiKeysService: ApiKeysService);
    create(user: User, name: string): Promise<{
        id: string;
        name: string;
        key: string;
        keyPrefix: string;
        createdAt: Date;
        message: string;
    }>;
    list(user: User): Promise<{
        id: string;
        name: string;
        keyPrefix: string;
        isActive: boolean;
        lastUsedAt: Date | null;
        createdAt: Date;
    }[]>;
    revoke(user: User, id: string): Promise<{
        success: boolean;
    }>;
    remove(user: User, id: string): Promise<{
        success: boolean;
    }>;
}
