// Type definitions for apidoc-light 0.50 // Project: https://github.com/apidoc/apidoc // Definitions by: rigwild // hoonga // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export interface ParsedFile { filename: string; extension: string; src: string; blocks: Array<{ global: any; local: any; }>; } export interface DocOptions { excludeFilters?: string[] | undefined; includeFilters?: string[] | undefined; src?: string | undefined; config?: string | undefined; apiprivate?: boolean | undefined; verbose?: boolean | undefined; single?: boolean | undefined; debug?: boolean | undefined; parse?: boolean | undefined; colorize?: boolean | undefined; filters?: Record | { [keys: string]: { postFilter: (parsedFiles: ParsedFile[], parsedFilenames: string[]) => void } } | undefined; languages?: Record | { [language: string]: { docBlocksRegExp: RegExp; inlineRegExp: RegExp; } } | undefined; parsers?: Record | { parse: (content: string, source: string, messages: string) => { name: string; title: string; description: string; }; path: string; getGroup?: (() => string) | undefined; markdownFields?: string[] | undefined; markdownRemovePTags?: string[] | undefined; } | undefined; workers?: Record | { [keys: string]: any; } | undefined; silent?: boolean | undefined; dryRun?: boolean | undefined; simulate?: boolean | undefined; markdown?: boolean | undefined; lineEnding?: string | undefined; encoding?: string | undefined; copyDefinitions?: boolean | undefined; filterBy?: string | string[] | undefined; } export function createDoc(options: DocOptions): { data: Array>; project: Record };