import DBSubmission from "../database/entities/db-submission"; import DBComment from "../database/entities/db-comment"; import DBDownload from "../database/entities/db-download"; export declare const MAX_NAME_LEN = 240; export interface TemplateTags { id: string; title: string; author: string; subreddit: string; score: number; createdUTC: number; over18: boolean; url: string; type: 'comment' | 'submission'; } export declare function makeName(dl: DBDownload, template: string): Promise; export declare function makePathFit(tags: TemplateTags, template: string): string; export declare function getCommentValues(c: DBComment): Promise; export declare function getSubmissionValues(s: DBSubmission): Promise; /** * Insert the given tag object map into the given string template. */ export declare function insert(tags: TemplateTags, template: string, len?: number): string;