import { ID } from '../../../commonStateTypes/common'; import { SelectorView } from '../../../commonStateTypes/viewAndReport/viewAndReport'; import { InvoicingCreditNote } from '../../../entity/invoicing/creditNote/creditNoteState'; import type { InvoicingFieldHelpByCode } from '../../../entity/invoicing/invoicingCommonPayload'; import { RootState } from '../../../rootStateTypes'; /** * Read-only view for the credit note detail page: the credit note entity + its * fetch state, bundled so the detail screen depends on this single read * selector. */ export interface InvoicingCreditNoteDetailView extends SelectorView { /** * Backend help copy for this screen's field group, keyed by field code. * Folded in here so the screen never reaches for the config view itself. */ fieldHelp: InvoicingFieldHelpByCode; creditNote?: InvoicingCreditNote; } export declare const getInvoicingCreditNoteById: (state: RootState, id: string) => InvoicingCreditNote | undefined; export declare const getInvoicingCreditNoteDetail: (state: RootState, invoicingCreditNoteID: ID) => InvoicingCreditNoteDetailView;