import { Injector } from 'graphql-modules';
import type { _DOLLAR_defs_Country, _DOLLAR_defs_Currency, _DOLLAR_defs_Document, _DOLLAR_defs_DocumentInputNew_Input, _DOLLAR_defs_DocumentLang, _DOLLAR_defs_DocumentType, _DOLLAR_defs_ExpenseDocumentType, _DOLLAR_defs_VatType, query_getDocument_payment_items_cardType, query_getDocument_payment_items_type, queryInput_previewDocument_input_discount_type, queryInput_previewDocument_input_linkType } from '../../../../../green-invoice-graphql/src/index.js';
import type { DocumentDiscountType, DocumentIssueInput, DocumentLanguage, DocumentLinkType, DocumentPaymentRecordCardType, DocumentVatType, PaymentType, ResolversTypes } from '../../../__generated__/types.js';
import { CountryCode, Currency, DocumentType } from '../../../shared/enums.js';
import type { document_status } from '../../documents/types.js';
export declare function normalizeGreenInvoiceDocumentType(rawType?: _DOLLAR_defs_DocumentType | _DOLLAR_defs_ExpenseDocumentType | number | null): DocumentType;
export declare function getGreenInvoiceDocumentType(documentType: DocumentType): _DOLLAR_defs_DocumentType;
export declare function getTypeFromGreenInvoiceDocument(documentType: _DOLLAR_defs_DocumentType): DocumentType;
export declare function getDocumentNameFromGreenInvoiceType(documentType: _DOLLAR_defs_DocumentType): string;
export declare function getGreenInvoiceDocumentLanguage(language: DocumentLanguage): _DOLLAR_defs_DocumentLang;
export declare function getLanguageFromGreenInvoiceDocument(lang: _DOLLAR_defs_DocumentLang): DocumentLanguage;
export declare function getGreenInvoiceDocumentVatType(vatType: DocumentVatType): _DOLLAR_defs_VatType;
export declare function getVatTypeFromGreenInvoiceDocument(vatType: _DOLLAR_defs_VatType): DocumentVatType;
export declare function getGreenInvoiceDocumentDiscountType(discountType: DocumentDiscountType): queryInput_previewDocument_input_discount_type;
export declare function getGreenInvoiceDocumentPaymentType(type: PaymentType): query_getDocument_payment_items_type;
export declare function getTypeFromGreenInvoiceDocumentPayment(type: query_getDocument_payment_items_type): PaymentType;
export declare function getGreenInvoiceDocumentPaymentCardType(cardType: DocumentPaymentRecordCardType): query_getDocument_payment_items_cardType;
export declare function getCardTypeFromGreenInvoiceDocumentPayment(cardType: query_getDocument_payment_items_cardType): DocumentPaymentRecordCardType;
export declare function getGreenInvoiceDocumentLinkType(linkType: DocumentLinkType): queryInput_previewDocument_input_linkType;
export declare function convertCurrencyToGreenInvoice(currency: Currency): _DOLLAR_defs_Currency;
export declare function greenInvoiceCountryToCountryCode(country: _DOLLAR_defs_Country): CountryCode;
export declare function countryCodeToGreenInvoiceCountry(countryCode: CountryCode): _DOLLAR_defs_Country;
export declare function greenInvoiceToDocumentStatus(greenInvoiceStatus: number): document_status;
export declare function getLinkedDocuments(injector: Injector, externalDocumentId: string): Promise<string[] | null>;
export declare function insertNewDocumentFromGreenInvoice(injector: Injector, greenInvoiceDoc: _DOLLAR_defs_Document, ownerId: string, preDictatedChargeId?: string | null): Promise<import("../../documents/types.js").IInsertDocumentsResult>;
export declare function getGreenInvoiceDocuments(injector: Injector, recursive?: boolean): Promise<_DOLLAR_defs_Document[]>;
export declare function convertDocumentInputIntoGreenInvoiceInput(initialInput: DocumentIssueInput, injector: Injector): Promise<_DOLLAR_defs_DocumentInputNew_Input>;
export declare function convertGreenInvoiceDocumentToDocumentDraft(greenInvoiceDocument: _DOLLAR_defs_Document, injector: Injector): Promise<ResolversTypes['DocumentDraft']>;
