/** * Extract logs from data. */ export declare function getLogsFromData(logEntry: Record): string[]; export declare const extractData: (logs: string[], dataString: string) => string[]; /** * Extracts logs and processes the associated data. */ export declare function getLogs(logs: string): string[]; /** * Retrieves all program invocations from logs. */ export declare function getAllPrograms(logs: string): string[]; /** * Checks if the logs indicate the creation of a mint. * @param logs - An array of log strings. * @returns A boolean indicating whether "InitializeMint2" instruction is present. */ export declare function isCreation(logs: string[]): Promise; /** * Extracts the program ID from logs if the "SetAuthority" instruction is followed by an "invoke". * @param logs - An array of log strings. * @returns The program ID as a string, or undefined if not found. */ export declare function getProgramId(logs: string[]): Promise; /** * Decodes a list of program data iteratively. * * @param dataList - An array of base64-encoded program data strings. * @returns A promise that resolves to an array of decoded objects. */ export declare function decodeProgramDataList(dataList: string[]): Promise[]>; export declare function isPairCreation(logs: any): Promise;