import type puppeteer from 'puppeteer'; export declare type Field = 'title' | 'body' | 'url' | 'categories' | 'tags'; export interface FieldConfig { hasContent?: boolean; indexed?: boolean; parser?: Parser; enabled?: boolean; } declare type FieldsRecord = Record; export declare type FieldsMap = Map>; export declare type ParsedFields = Record; export declare type ParsedFieldsMap = Map; value: string; }>; declare type SelectorString = string; export declare type GenericParser = (entry: string, page: puppeteer.Page) => Promise | T; export declare type Parser = SelectorString | GenericParser | false; export declare function isSelectorString(x: Parser): x is SelectorString; export interface UncheckedConfig { type?: 'simple'; output?: string; entries?: string[]; fields?: FieldsMap | FieldsRecord; } export interface Config extends Required { fields: FieldsMap; } export {}; //# sourceMappingURL=configTypes.d.ts.map