export * from "./client.js";
export * from "./server.js";
import { createKiloClient } from "./client.js";
import { createKiloServer } from "./server.js";
export * as data from "./data.js";
export async function createKilo(options) {
    const server = await createKiloServer({
        ...options,
    });
    const client = createKiloClient({
        baseUrl: server.url,
    });
    return {
        client,
        server,
    };
}
