const example = {
    services: [
        {
            // Name only, would be mapped as `url: "./named.js"` automatically
            // is used with an entrypoint later
            name: "named",
        },
        {
            name: "example",
            url: "./example.js",
            bindings: [
                {
                    name: "./",
                    import: "./main.js"
                },
                {
                    name: "./static.json",
                    json: {
                        key: "value"
                    }
                },
                {
                    name: "./import.wasm",
                    import: "./import.wasm"
                },
                {
                    name: "./import.json",
                    import: "./import.json",
                    assert: { type: "json" }
                },
                {
                    name: "./requested/resource.json",
                    service: {
                        name: "named",
                        entrypoint: "getRequestedResource",
                        entrypointArguments: ["request", "$event", "SPECIAL_CONTEXT_KEY"]
                    }
                },
                {
                    name: "./blob.csv",
                    data: new Blob([new TextEncoder().encode("a,b,c\n1,2,3")], { type: "text/csv" })
                },
                {
                    name: "./blob.array.csv",
                    data: new TextEncoder().encode("a,b,c\n1,2,3")
                },
                {
                    name: "./blob.data.csv",
                    data: "a,b,c\n1,2,3"
                },
                {
                    name: "./blob.text.csv",
                    text: "a,b,c\n1,2,3"
                }
            ]
        }
    ],
    sockets: [
        {
            name: "example",
            address: "*:3000",
            service: "example",
            type: "http"
        },
        {
            address: "*:3001",
            service: "example"
        },
        {
            address: "*:3002",
            routes: [
                {
                    condition: { urlPattern: "/api/*" },
                    source: "fetch-event"
                }
            ],
            service: "example"
        }
    ]
};
export {};
//# sourceMappingURL=types.js.map