import type { AssigneeField, AssigneeFieldSetValue, DatePickerField, DateTimeField, DescriptionField, LabelsField, MultiSelectField, MultiSelectFieldSetValue, MultiUserPickerField, MultiUserPickerFieldSetValue, ParagraphField, PriorityField, PriorityFieldSetValue, SelectField, SelectFieldSetValue, StatusField, StatusFieldSetValue, SummaryField, UrlField, TextField, UserPickerField, UserPickerFieldSetValue, CheckboxesField, CheckboxesFieldSetValue, PeopleField, PeopleFieldSetValue, ReporterField, ReporterFieldSetValue, ComponentsField, ComponentsFieldSetValue, VersionsField, VersionsFieldSetValue, RadioButtonsField, RadioButtonsFieldSetValue, NumberField, IssueTypeField, IssueTypeFieldSetValue, ParentFieldSetValue, ParentField, CascadingSelectField, CascadingSelectFieldSetValue, FixVersionsField, FixVersionsFieldSetValue, ResolutionField, ResolutionSetValue, OriginalEstimateField, ProjectPickerField, ProjectPickerFieldSetValue, RequestTypeField, RequestTypeFieldSetValue } from './fields'; export declare const SELECT_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:select"; export declare const MULTISELECT_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:multiselect"; export declare const PARAGRAPH_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:textarea"; export declare const TEXTFIELD_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:textfield"; export declare const URL_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:url"; export declare const USER_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:userpicker"; export declare const MULTI_USER_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker"; export declare const CHECKBOXES_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes"; export declare const PEOPLE_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:people"; export declare const DATE_PICKER_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:datepicker"; export declare const TARGET_START_CF_TYPE = "com.atlassian.jpo:jpo-custom-field-baseline-start"; export declare const TARGET_END_CF_TYPE = "com.atlassian.jpo:jpo-custom-field-baseline-end"; export declare const DATETIME_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:datetime"; export declare const RADIO_BUTTONS_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons"; export declare const NUMBER_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:float"; export declare const CASCADING_SELECT_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect"; export declare const PROJECT_CF_TYPE = "com.atlassian.jira.plugin.system.customfieldtypes:project"; export declare const REQUEST_TYPE_CF_TYPE = "com.atlassian.servicedesk:vp-origin"; export declare type FieldGetValue = { assignee: AssigneeField; summary: SummaryField; labels: LabelsField; description: DescriptionField; priority: PriorityField; reporter: ReporterField; components: ComponentsField; fixVersions: FixVersionsField; versions: VersionsField; issuetype: IssueTypeField; parent: ParentField; status: StatusField; resolution: ResolutionField; duedate: DatePickerField; timeoriginalestimate: OriginalEstimateField; [SELECT_CF_TYPE]: SelectField; [RADIO_BUTTONS_CF_TYPE]: RadioButtonsField; [URL_CF_TYPE]: UrlField; [PARAGRAPH_CF_TYPE]: ParagraphField; [MULTISELECT_CF_TYPE]: MultiSelectField; [USER_CF_TYPE]: UserPickerField; [MULTI_USER_CF_TYPE]: MultiUserPickerField; [TEXTFIELD_CF_TYPE]: TextField; [CHECKBOXES_CF_TYPE]: CheckboxesField; [PEOPLE_CF_TYPE]: PeopleField; [DATE_PICKER_CF_TYPE]: DatePickerField; [TARGET_START_CF_TYPE]: DatePickerField; [TARGET_END_CF_TYPE]: DatePickerField; [DATETIME_CF_TYPE]: DateTimeField; [NUMBER_CF_TYPE]: NumberField; [CASCADING_SELECT_CF_TYPE]: CascadingSelectField; [PROJECT_CF_TYPE]: ProjectPickerField; [REQUEST_TYPE_CF_TYPE]: RequestTypeField; }; export declare type FieldSetValue = { assignee: AssigneeFieldSetValue; summary: SummaryField; labels: LabelsField; description: DescriptionField; priority: PriorityFieldSetValue; reporter: ReporterFieldSetValue; components: ComponentsFieldSetValue; fixVersions: FixVersionsFieldSetValue; versions: VersionsFieldSetValue; issuetype: IssueTypeFieldSetValue; parent: ParentFieldSetValue; status: StatusFieldSetValue; resolution: ResolutionSetValue; duedate: DatePickerField; timeoriginalestimate: OriginalEstimateField; [SELECT_CF_TYPE]: SelectFieldSetValue; [RADIO_BUTTONS_CF_TYPE]: RadioButtonsFieldSetValue; [URL_CF_TYPE]: UrlField; [PARAGRAPH_CF_TYPE]: ParagraphField; [MULTISELECT_CF_TYPE]: MultiSelectFieldSetValue; [USER_CF_TYPE]: UserPickerFieldSetValue; [MULTI_USER_CF_TYPE]: MultiUserPickerFieldSetValue; [TEXTFIELD_CF_TYPE]: TextField; [CHECKBOXES_CF_TYPE]: CheckboxesFieldSetValue; [PEOPLE_CF_TYPE]: PeopleFieldSetValue; [DATE_PICKER_CF_TYPE]: DatePickerField; [TARGET_START_CF_TYPE]: DatePickerField; [TARGET_END_CF_TYPE]: DatePickerField; [DATETIME_CF_TYPE]: DateTimeField; [NUMBER_CF_TYPE]: NumberField; [CASCADING_SELECT_CF_TYPE]: CascadingSelectFieldSetValue; [PROJECT_CF_TYPE]: ProjectPickerFieldSetValue; [REQUEST_TYPE_CF_TYPE]: RequestTypeFieldSetValue; }; export declare type FieldId = 'issuetype' | 'priority' | 'assignee' | 'summary' | 'description' | 'labels' | 'reporter' | 'components' | 'fixVersions' | 'versions' | 'parent' | 'status' | 'resolution' | 'duedate' | 'timeoriginalestimate' | string; export declare type FieldType = typeof PEOPLE_CF_TYPE | typeof CHECKBOXES_CF_TYPE | typeof SELECT_CF_TYPE | typeof PARAGRAPH_CF_TYPE | typeof MULTISELECT_CF_TYPE | typeof USER_CF_TYPE | typeof MULTI_USER_CF_TYPE | typeof TEXTFIELD_CF_TYPE | typeof URL_CF_TYPE | typeof DATE_PICKER_CF_TYPE | typeof TARGET_START_CF_TYPE | typeof TARGET_END_CF_TYPE | typeof DATETIME_CF_TYPE | typeof RADIO_BUTTONS_CF_TYPE | typeof NUMBER_CF_TYPE | typeof CASCADING_SELECT_CF_TYPE | typeof PROJECT_CF_TYPE | typeof REQUEST_TYPE_CF_TYPE | 'issuetype' | 'priority' | 'assignee' | 'summary' | 'description' | 'labels' | 'reporter' | 'components' | 'fixVersions' | 'versions' | 'parent' | 'status' | 'resolution' | 'duedate' | 'timeoriginalestimate'; export declare type OptionsVisibility = { options: string[]; isVisible: boolean; }; export declare type FieldOptionsVisibility = { priority?: OptionsVisibility; assignee: undefined; reporter: undefined; components: undefined; fixVersions?: OptionsVisibility; versions?: OptionsVisibility; summary: undefined; labels: undefined; description: undefined; issuetype?: OptionsVisibility; parent?: OptionsVisibility; status: undefined; resolution?: OptionsVisibility; duedate: undefined; timeoriginalestimate: undefined; [PARAGRAPH_CF_TYPE]: undefined; [TEXTFIELD_CF_TYPE]: undefined; [URL_CF_TYPE]: undefined; [SELECT_CF_TYPE]?: OptionsVisibility; [RADIO_BUTTONS_CF_TYPE]?: OptionsVisibility; [MULTISELECT_CF_TYPE]?: OptionsVisibility; [CHECKBOXES_CF_TYPE]?: OptionsVisibility; [USER_CF_TYPE]: undefined; [MULTI_USER_CF_TYPE]: undefined; [PEOPLE_CF_TYPE]: undefined; [DATE_PICKER_CF_TYPE]: undefined; [TARGET_START_CF_TYPE]: undefined; [TARGET_END_CF_TYPE]: undefined; [DATETIME_CF_TYPE]: undefined; [NUMBER_CF_TYPE]: undefined; [CASCADING_SELECT_CF_TYPE]: undefined; [PROJECT_CF_TYPE]: undefined; [REQUEST_TYPE_CF_TYPE]?: OptionsVisibility; }; export declare type Field = { getId: () => FieldId; getType: () => FieldType; getName: () => string; setName: (name: string) => Field; getDescription: () => string; setDescription: (description: string) => Field; isVisible: () => boolean; setVisible: (isVisible: boolean) => Field; getValue: () => FieldGetValue[S]; setValue: (value: FieldSetValue[T]) => Field; isReadOnly: () => boolean; setReadOnly: (isReadOnly: boolean) => Field; isRequired: () => boolean; setRequired: (isRequired: boolean) => Field; setOptionsVisibility: (options: string[], isVisible: boolean) => Field; getOptionsVisibility: () => FieldOptionsVisibility[S]; }; export interface FieldsHookApi { getFieldById(fieldId: FIELD_ID): Field | undefined; getFields: () => Field[]; } //# sourceMappingURL=field-api.d.ts.map