import { type BackendEndpoint, type PdkEndpointResponse } from '@myparcel-pdk/common'; import { type BackendEndpointDefinition } from '../sdk.types'; import { type AdminAction } from '../../data'; import { type AdminActionEndpointMap, type MaybeAdminAction } from './actions.types'; export type BackendEndpointResponse = PdkEndpointResponse; export type ActionResponse = A extends AdminAction ? BackendEndpointResponse : void; export type MaybeActionResponse = ActionResponse | void;