import { Repository } from 'typeorm';
import { CustomSnippet } from '../core-entities';
import { CreateCustomSnippetDto, UpdateCustomSnippetDto } from './dto/custom-snippet.dto';
export declare class CustomSnippetsService {
    private customSnippetsRepository;
    constructor(customSnippetsRepository: Repository<CustomSnippet>);
    create(createCustomSnippetDto: CreateCustomSnippetDto): Promise<CustomSnippet>;
    findAll(): Promise<CustomSnippet[]>;
    findOne(id: string): Promise<CustomSnippet>;
    update(id: string, updateCustomSnippetDto: UpdateCustomSnippetDto): Promise<CustomSnippet>;
    remove(id: string): Promise<void>;
    duplicate(id: string): Promise<CustomSnippet>;
}
