UNPKG

imessage-ts

Version:

TypeScript library for interacting with iMessage on macOS - send messages, monitor chats, and automate responses

26 lines 855 B
/** * Connect directly to the iMessage database and run queries */ export declare function exploreDatabase(query: string): Promise<any[]>; /** * Get database schema information */ export declare function getDatabaseSchema(): Promise<any[]>; /** * Get table columns */ export declare function getTableColumns(tableName: string): Promise<any[]>; /** * Get the most recent messages with all columns */ export declare function getRecentMessages(limit?: number): Promise<any[]>; /** * Search for a specific string in message columns */ export declare function searchMessages(searchString: string): Promise<any[]>; /** * Get data for a specific message GUID */ export declare function getMessageByGuid(guid: string): Promise<any[]>; export declare function getAttributedBodyExamples(): Promise<any[]>; //# sourceMappingURL=database-explorer.d.ts.map