import { Session, SnapApp, SnapRenderChild } from '../app.js'; import { FontOptions, FontUtilsOptions } from '../utils/font.js'; import { Logger } from '../utils/logger.js'; import { SnapAppBrowserUtilsParams } from '../utils/login.js'; import { SnapRenderBaseUtils } from '../utils/render.js'; export declare const apps: SnapApp[]; type SnapRunParam = { ffmpegAdditonalOption?: string[]; ffmpegPath?: string; ffmpegTimeout?: number; ffprobePath?: string; font?: FontOptions; output?: '{id}-{count}.{if-type:png:mp4:json:}' | ({} & string); scale?: number; theme?: 'Json' | 'Media' | 'RenderOceanBlueColor' | ({} & string); width?: number; }; type GetSnapAppRenderParam = { logger?: Logger; url: string; allowAppName?: string[]; }; export declare const getSnapAppRender: ({ logger, url, allowAppName }: GetSnapAppRenderParam) => { app: SnapApp; init(): Promise; getFont({ cachePath }?: { cachePath?: string; }): Promise; login(param?: SnapAppBrowserUtilsParams): Promise>; getRender({ limit, session }: { limit?: number; session: Session; }): Promise>; run(render: SnapRenderChild, callback: (run: (param: SnapRunParam) => Promise) => Promise): Promise; }; type GetSnapAppRenderWithCacheParam = { url: string; allowAppName?: string[]; cachePath?: string; fontUtils?: FontUtilsOptions; sessionType?: SnapAppBrowserUtilsParams['sessionType']; browserProfile?: SnapAppBrowserUtilsParams['browserProfile']; cookiesFile?: SnapAppBrowserUtilsParams['cookiesFile']; limit?: number; callback: (run: (param: Omit) => Promise) => Promise; }; export declare const getSnapAppRenderWithCache: ({ logger }: { logger?: Logger; }) => (args: GetSnapAppRenderWithCacheParam) => Promise; export {}; //# sourceMappingURL=core.d.ts.map