import { Ref } from 'vue'; import { GraphQLClient, Company, Cart, CompanyVariables, PurchaseAuthorizationConfigCreateInput, PurchaseAuthorizationConfigUpdateInput } from '@propeller-commerce/propeller-sdk-v2'; export interface UseCompanyOptions { graphqlClient: GraphQLClient; language?: Ref; } export interface UseCompanyReturn { company: Ref; pendingCarts: Ref; loading: Ref; error: Ref; fetchCompany: (companyId: number, overrides?: Partial>) => Promise; fetchPendingCarts: (companyId: number) => Promise; createPac: (input: PurchaseAuthorizationConfigCreateInput) => Promise<{ success: boolean; error?: string; }>; updatePac: (pacId: string, input: PurchaseAuthorizationConfigUpdateInput) => Promise<{ success: boolean; error?: string; }>; deletePac: (pacId: string) => Promise<{ success: boolean; error?: string; }>; acceptCartRequest: (cartId: string) => Promise<{ success: boolean; error?: string; }>; } export declare function useCompany(options: UseCompanyOptions): UseCompanyReturn;