/** * Represents a row of data in a table. */ export type RowObject = Record; /** * Defines skipping behavior for a value such that is will not be pinned to * IPFS. This is useful for values like a table name passed to a string * templated query string. E.g., `const sql = pinToLocal`insert into * ${skip(tableName)} (message) values ('${contentToPin}');`;` * @param value The value to skip. * @returns An object that defines skipping behavior where `jetiShouldSkip` is * `true` and `original` is the original value. */ export declare function skip(value: string): { jetiShouldSkip: boolean; original: string; }; export interface PrepareResult { (strings: TemplateStringsArray, ...values: any[]): Promise; resolve(resultSet: RowObject[], keysToResolve: string[]): Promise; } /** * Creates a function that processes content and resolves it. * @param customProcessor A custom function that processes the content. * @param resolver A custom function that resolves the content. * @returns An instance of {@link PrepareResult}. */ export declare function createProcessor(customProcessor: Function, resolver: Function): PrepareResult;