import { EndpointRequestInit as EndpointRequestInit_1 } from "@vaadin/hilla-frontend";
import type Filter_1 from "./com/vaadin/hilla/crud/filter/Filter.js";
import type Pageable_1 from "./com/vaadin/hilla/mappedtypes/Pageable.js";
import client_1 from "./connect-client.default.js";
import type Customer_1 from "./org/javacodegeeks/hilla/Customer.js";
async function count_1(filter: Filter_1 | undefined, init?: EndpointRequestInit_1): Promise<number> { return client_1.call("CustomerService", "count", { filter }, init); }
async function exists_1(id: number, init?: EndpointRequestInit_1): Promise<boolean> { return client_1.call("CustomerService", "exists", { id }, init); }
async function get_1(id: number, init?: EndpointRequestInit_1): Promise<Customer_1 | undefined> { return client_1.call("CustomerService", "get", { id }, init); }
async function list_1(pageable: Pageable_1, filter: Filter_1 | undefined, init?: EndpointRequestInit_1): Promise<Array<Customer_1>> { return client_1.call("CustomerService", "list", { pageable, filter }, init); }
async function delete_1(id: number, init?: EndpointRequestInit_1): Promise<void> { return client_1.call("CustomerService", "delete", { id }, init); }
async function deleteAll_1(ids: Array<number>, init?: EndpointRequestInit_1): Promise<void> { return client_1.call("CustomerService", "deleteAll", { ids }, init); }
async function save_1(value: Customer_1, init?: EndpointRequestInit_1): Promise<Customer_1 | undefined> { return client_1.call("CustomerService", "save", { value }, init); }
async function saveAll_1(values: Array<Customer_1>, init?: EndpointRequestInit_1): Promise<Array<Customer_1>> { return client_1.call("CustomerService", "saveAll", { values }, init); }
async function findAll_1(init?: EndpointRequestInit_1): Promise<Array<Customer_1>> { return client_1.call("CustomerService", "findAll", {}, init); }
async function findById_1(arg0: number | undefined, init?: EndpointRequestInit_1): Promise<Customer_1 | undefined> { return client_1.call("CustomerService", "findById", { arg0 }, init); }
export { count_1 as count, delete_1 as delete, deleteAll_1 as deleteAll, exists_1 as exists, findAll_1 as findAll, findById_1 as findById, get_1 as get, list_1 as list, save_1 as save, saveAll_1 as saveAll };
