import type { WAMessage, WASocket } from '@whiskeysockets/baileys'; import type { Logger } from '../types/index.js'; export type BaileysInFileSessionStoreConfig = { path?: string; logger?: Logger; }; declare const _default: (config: BaileysInFileSessionStoreConfig) => { WP_STORE_PATH: string; WP_SESSIONS_PATH: string; WP_STORES_PATH: string; WP_MEDIA_PATH: string; WP_UP_PATH: string; WP_QR_PATH: string; WP_PP_CACHE_FILE: string; WP_QR_CACHE_FILE: string; ensureDirectoriesExist: () => Promise; deleteSessionDir: (clientId: string) => Promise; readCacheFile: (cacheFilePath: string) => Promise>; writeCacheFile: (cacheFilePath: string, data: Record) => Promise; getppURL: (sock: WASocket, jid: string, highRes?: boolean, expireTime?: number) => Promise; getMediaFilePath: (messageId: string) => string; getMediaMessage: (message: WAMessage) => Promise; saveQRBase64: (clientId: string, base64Image: string) => Promise; getQRBase64: (clientId: string) => Promise; pipe: { postEvent: (message: { type: T; data: import("../types/events.js").WorkerToMasterEvents[T]; }) => void; postAction: (worker: import("worker_threads").Worker, message: { type: T; data: import("../types/actions.js").MasterToWorkerActions[T]; }) => void; getEventList: () => (keyof import("../types/events.js").WorkerToMasterEvents)[]; getActionList: () => (keyof import("../types/actions.js").MasterToWorkerActions)[]; }; }; export default _default;