import { type AxiosResponse } from "axios"; import type { FdoProfile, FdoRestaurant } from "@feedmepos/core/entity"; import type { ExtendedRestaurant } from "@/types/restaurant"; export type RestaurantAttributes = Record; export declare function formatRestaurant(restaurant: FdoRestaurant): ExtendedRestaurant; export declare function getRestaurantData(response: AxiosResponse): ExtendedRestaurant; export declare function getRestaurantsData(response: AxiosResponse): Promise; export declare const restaurantApi: { readRestaurant(restaurantId: string): Promise; readRestaurants(): Promise; readRestaurantsByBusiness(): Promise; createRestaurant(data: Partial): Promise; updateRestaurantProfile(restaurantId: string, profile: FdoProfile): Promise; updateRestaurantAttributes(restaurantId: string, attributes: any): Promise; createRestaurantFeature(restaurantId: string): Promise; };