import { JwtService } from '@nestjs/jwt';
import { ConfigService } from '@nestjs/config';
import { Knex } from 'knex';
export declare class AuthService {
    private readonly knex;
    private jwt;
    private config;
    constructor(knex: Knex, jwt: JwtService, config: ConfigService);
    login(dto: {
        username: string;
        password: string;
    }): Promise<{
        access_token: string;
    }>;
    signToken(userid: number, username: string): Promise<{
        access_token: string;
    }>;
}
