import type { State } from "../engine/entity-views/types.js";
import type { JSONType } from "../schema-definition/json-type.js";
import type { Lix } from "../lix/open-lix.js";
import type { LixLog } from "./schema-definition.js";
/**
 * Directly creates a log entry in the Lix database without applying any filters.
 *
 * This function inserts the log entry regardless of the `lix_log_levels` setting
 * in the key-value store. It is the responsibility of the calling application
 * to implement any desired log level filtering before invoking this function.
 *
 * Use `snake_case` for log keys (e.g., `app_checkout_submit`) to keep filters predictable.
 * Provide either a `message`, a structured `payload`, or both depending on your needs.
 *
 * @example
 *
 * await createLog({
 *   lix,
 *   key: 'app_init',
 *   level: 'info',
 *   message: 'Application initialized'
 * });
 *
 * @example
 *
 * await createLog({
 *   lix,
 *   key: 'app_init_state',
 *   level: 'debug',
 *   payload: { ready: true }
 * });
 *
 * @returns A promise that resolves with the created log entry.
 */
export declare function createLog(args: {
    lix: Lix;
    message?: string | null;
    payload?: JSONType;
    level: string;
    key: string;
}): Promise<State<LixLog>>;
//# sourceMappingURL=create-log.d.ts.map