/** * Create a new Oxigraph store instance * * **Poka-Yoke**: Factory ensures store is properly initialized * * @param {Array} [initialQuads] - Optional initial quads to populate * @returns {import('@unrdf/oxigraph').OxigraphStore} Oxigraph store instance * * @example * ```javascript * import { createOxigraphStore } from '@unrdf/atomvm'; * * const store = createOxigraphStore(); * console.log(`Store created with ${store.size} quads`); * ``` */ export function createOxigraphStore(initialQuads?: Array): import("@unrdf/oxigraph").OxigraphStore; /** * Create a new OxigraphBridge connected to a real Oxigraph store * * **Poka-Yoke**: Factory ensures bridge is properly initialized with valid store * * @param {Array} [initialQuads] - Optional initial quads to populate * @returns {OxigraphBridge} Bridge instance ready for use * * @example * ```javascript * import { createOxigraphBridge, dataFactory } from '@unrdf/atomvm'; * * const bridge = createOxigraphBridge(); * const { namedNode, literal } = dataFactory; * * await bridge.addTriples([{ * subject: namedNode('http://example.org/s'), * predicate: namedNode('http://example.org/p'), * object: literal('value') * }]); * ``` */ export function createOxigraphBridge(initialQuads?: Array): OxigraphBridge; /** * Create a fully integrated Oxigraph store + bridge combination * * Returns both the store and bridge for advanced use cases. * * @param {Array} [initialQuads] - Optional initial quads to populate * @returns {{store: import('@unrdf/oxigraph').OxigraphStore, bridge: OxigraphBridge}} Store and bridge * * @example * ```javascript * import { createIntegratedStore } from '@unrdf/atomvm'; * * const { store, bridge } = createIntegratedStore(); * * // Use store directly for SPARQL * const results = store.query('SELECT ?s ?p ?o WHERE { ?s ?p ?o } LIMIT 10'); * * // Use bridge for RDF operations * await bridge.addTriples([...]); * ``` */ export function createIntegratedStore(initialQuads?: Array): { store: import("@unrdf/oxigraph").OxigraphStore; bridge: OxigraphBridge; }; export { dataFactory }; export { BRIDGE_OPERATIONS } from "./oxigraph-bridge.mjs"; import { OxigraphBridge } from './oxigraph-bridge.mjs'; import { dataFactory } from '@unrdf/oxigraph';