import { Repository } from 'typeorm';
import { ShortLink } from './entities/short-link.entity';
export declare class ShortLinkService {
    private readonly shortLinkRepository;
    private readonly logger;
    private readonly CODE_LENGTH;
    private readonly CODE_CHARS;
    constructor(shortLinkRepository: Repository<ShortLink>);
    private generateShortCode;
    createShortLink(originalUrl: string): Promise<string>;
    getOriginalUrl(code: string): Promise<string>;
    getShortLinkStats(code: string): Promise<ShortLink | null>;
}
