From 4322723962d7e981bd8e1d3735b801f337ee739e Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Thu, 28 May 2026 16:48:19 -0700 Subject: [PATCH 01/11] build: setup api-extractor report --- .gitignore | 3 + .reports/config/api-extractor.json | 46 + .reports/config/tsconfig.json | 20 + .reports/embedded-react-sdk.public.api.md | 5797 +++++++++++++++++++++ package-lock.json | 146 +- package.json | 4 +- 6 files changed, 5906 insertions(+), 110 deletions(-) create mode 100644 .reports/config/api-extractor.json create mode 100644 .reports/config/tsconfig.json create mode 100644 .reports/embedded-react-sdk.public.api.md diff --git a/.gitignore b/.gitignore index 3ea5c055d..1389645c4 100644 --- a/.gitignore +++ b/.gitignore @@ -211,3 +211,6 @@ sdk-app/dist/ sdk-app/env/.env.demo sdk-app/env/.env.staging sdk-app/env/.env.localzp + +# api-extractor artifacts +.reports/temp \ No newline at end of file diff --git a/.reports/config/api-extractor.json b/.reports/config/api-extractor.json new file mode 100644 index 000000000..e0142b00b --- /dev/null +++ b/.reports/config/api-extractor.json @@ -0,0 +1,46 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "projectFolder": "../../", + "mainEntryPointFilePath": "/dist/index.d.ts", + "bundledPackages": [], + "compiler": { + "tsconfigFilePath": "/.reports/config/tsconfig.json" + }, + "apiReport": { + "enabled": true, + "reportFolder": "/.reports/", + "reportTempFolder": "/.reports/temp/", + "reportVariants": [ + "public" + ] + }, + "docModel": { + "enabled": false + }, + "dtsRollup": { + "enabled": false + }, + "tsdocMetadata": { + "enabled": false + }, + "messages": { + "extractorMessageReporting": { + "ae-missing-release-tag": { + "logLevel": "none", + "addToApiReportFile": true + }, + "ae-forgotten-export": { + "logLevel": "none", + "addToApiReportFile": true + }, + "ae-unresolved-link": { + "logLevel": "none", + "addToApiReportFile": true + }, + "ae-incompatible-release-tags": { + "logLevel": "none", + "addToApiReportFile": true + } + } + } +} \ No newline at end of file diff --git a/.reports/config/tsconfig.json b/.reports/config/tsconfig.json new file mode 100644 index 000000000..12e4d1b4b --- /dev/null +++ b/.reports/config/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "lib": [ + "ESNext", + "DOM" + ], + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "esModuleInterop": true, + "jsx": "react-jsx", + "declaration": true, + "skipLibCheck": true, + "strict": true + }, + "files": [ + "dist/index.d.ts" + ] +} \ No newline at end of file diff --git a/.reports/embedded-react-sdk.public.api.md b/.reports/embedded-react-sdk.public.api.md new file mode 100644 index 000000000..7b2297409 --- /dev/null +++ b/.reports/embedded-react-sdk.public.api.md @@ -0,0 +1,5797 @@ +## Public API Report File for "@gusto/embedded-react-sdk" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { AfterErrorContext } from '@gusto/embedded-api/hooks/types'; +import { AfterErrorHook } from '@gusto/embedded-api/hooks/types'; +import { AfterSuccessContext } from '@gusto/embedded-api/hooks/types'; +import { AfterSuccessHook } from '@gusto/embedded-api/hooks/types'; +import { Agencies } from '@gusto/embedded-api/models/components/childsupportdata'; +import { AnchorHTMLAttributes } from 'react'; +import { AriaAttributes } from 'react'; +import { BeforeCreateRequestContext } from '@gusto/embedded-api/hooks/types'; +import { BeforeCreateRequestHook } from '@gusto/embedded-api/hooks/types'; +import { BeforeRequestContext } from '@gusto/embedded-api/hooks/types'; +import { BeforeRequestHook } from '@gusto/embedded-api/hooks/types'; +import { ButtonHTMLAttributes } from 'react'; +import { Compensation } from '@gusto/embedded-api/models/components/compensation'; +import { ComponentType } from 'react'; +import { Contractor as Contractor_2 } from '@gusto/embedded-api/models/components/contractor'; +import { ContractorAddress } from '@gusto/embedded-api/models/components/contractoraddress'; +import { Control } from 'react-hook-form'; +import { CustomTypeOptions } from 'i18next'; +import { default as default_2 } from 'react'; +import { Employee as Employee_2 } from '@gusto/embedded-api/models/components/employee'; +import { EmployeeAddress } from '@gusto/embedded-api/models/components/employeeaddress'; +import { EmployeeBankAccount } from '@gusto/embedded-api/models/components/employeebankaccount'; +import { EmployeeFederalTax } from '@gusto/embedded-api/models/components/employeefederaltax'; +import { EmployeePaymentMethod } from '@gusto/embedded-api/models/components/employeepaymentmethod'; +import { EmployeeStateTaxesList } from '@gusto/embedded-api/models/components/employeestatetaxeslist'; +import { EmployeeStateTaxQuestion } from '@gusto/embedded-api/models/components/employeestatetaxquestion'; +import { EmployeeWorkAddress } from '@gusto/embedded-api/models/components/employeeworkaddress'; +import { ErrorInfo } from 'react'; +import { FallbackProps } from 'react-error-boundary'; +import { FieldsetHTMLAttributes } from 'react'; +import { FieldValues } from 'react-hook-form'; +import { FlsaStatusType } from '@gusto/embedded-api/models/components/flsastatustype'; +import { FocusEvent as FocusEvent_2 } from 'react'; +import { Form } from '@gusto/embedded-api/models/components/form'; +import { Garnishment } from '@gusto/embedded-api/models/components/garnishment'; +import { GarnishmentType } from '@gusto/embedded-api/models/components/garnishment'; +import { HTMLAttributes } from 'react'; +import { InputHTMLAttributes } from 'react'; +import { Job } from '@gusto/embedded-api/models/components/job'; +import { JSX } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { JSXElementConstructor } from 'react'; +import { Location as Location_2 } from '@gusto/embedded-api/models/components/location'; +import { MinimumWage } from '@gusto/embedded-api/models/components/minimumwage'; +import { PaymentPeriod } from '@gusto/embedded-api/models/components/garnishmentchildsupport'; +import { PaymentUnit } from '@gusto/embedded-api/models/components/compensation'; +import { PayrollPayPeriodType } from '@gusto/embedded-api/models/components/payrollpayperiodtype'; +import { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api/models/components/payschedulepreviewpayperiod'; +import { PayScheduleShow } from '@gusto/embedded-api/models/components/payscheduleshow'; +import { PolicyType as PolicyType_2 } from '@gusto/embedded-api/models/components/timeoffpolicy'; +import { QueryClient } from '@tanstack/react-query'; +import { ReactElement } from 'react'; +import { ReactNode } from 'react'; +import { Ref } from 'react'; +import { RefObject } from 'react'; +import { SelectHTMLAttributes } from 'react'; +import { Signatory } from '@gusto/embedded-api/models/components/signatory'; +import { SyntheticEvent } from 'react'; +import { TableHTMLAttributes } from 'react'; +import { TextareaHTMLAttributes } from 'react'; +import { UseFormProps } from 'react-hook-form'; +import { UseFormReturn } from 'react-hook-form'; +import { UseQueryResult } from '@tanstack/react-query'; +import { z } from 'zod'; + +// Warning: (ae-missing-release-tag) "ACCOUNT_TYPES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ACCOUNT_TYPES: readonly ["Checking", "Savings"]; + +// Warning: (ae-missing-release-tag) "AccountNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AccountNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AccountNumberValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AccountNumberValidation = (typeof BankFormErrorCodes)[keyof Pick]; + +// Warning: (ae-missing-release-tag) "AccountType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AccountType = (typeof ACCOUNT_TYPES)[number]; + +// Warning: (ae-missing-release-tag) "AccountTypeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AccountTypeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AddEmployeesHoliday" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function AddEmployeesHoliday(props: AddEmployeesHolidayProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "BaseComponentInterface" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "AddEmployeesHolidayProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface AddEmployeesHolidayProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "AddEmployeesToPolicy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function AddEmployeesToPolicy(props: AddEmployeesToPolicyProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "AddEmployeesToPolicyProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface AddEmployeesToPolicyProps extends BaseComponentInterface { + // (undocumented) + companyId: string; + // (undocumented) + policyId: string; + // Warning: (ae-forgotten-export) The symbol "CreatableTimeOffPolicyType" needs to be exported by the entry point index.d.ts + // + // (undocumented) + policyType: CreatableTimeOffPolicyType; +} + +// Warning: (ae-forgotten-export) The symbol "AddressProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Address" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Address(props: AddressProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "AdjustForMinimumWageFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AdjustForMinimumWageFieldProps = HookFieldProps; + +export { AfterErrorContext } + +export { AfterErrorHook } + +export { AfterSuccessContext } + +export { AfterSuccessHook } + +// Warning: (ae-missing-release-tag) "AlertProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface AlertProps { + action?: ReactNode; + children?: ReactNode; + className?: string; + disableScrollIntoView?: boolean; + icon?: ReactNode; + label: string; + onDismiss?: () => void; + status?: 'info' | 'success' | 'warning' | 'error'; +} + +// Warning: (ae-missing-release-tag) "AnchorEndOfPayPeriodFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AnchorEndOfPayPeriodFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AnchorPayDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AnchorPayDateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AnnualMaximumFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AnnualMaximumFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "APIConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface APIConfig { + // (undocumented) + baseUrl: string; + // (undocumented) + headers?: HeadersInit; + // (undocumented) + hooks?: SDKHooks; + // (undocumented) + observability?: ObservabilityHook; +} + +// Warning: (ae-missing-release-tag) "ApiPayrollBlocker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ApiPayrollBlocker { + // (undocumented) + key: string; + // (undocumented) + message?: string; +} + +// Warning: (ae-missing-release-tag) "ApiProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function ApiProvider(input: ApiProviderProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ApiProviderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ApiProviderProps { + // (undocumented) + children: React.ReactNode; + // (undocumented) + headers?: HeadersInit; + // (undocumented) + hooks?: SDKHooks; + // (undocumented) + queryClient?: QueryClient; + // (undocumented) + url: string; +} + +// Warning: (ae-forgotten-export) The symbol "AssignSignatoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "AssignSignatory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function AssignSignatory(props: AssignSignatoryProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "BadgeProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BadgeProps extends Pick, 'className' | 'id' | 'aria-label'> { + children: ReactNode; + dismissAriaLabel?: string; + isDisabled?: boolean; + onDismiss?: () => void; + status?: 'success' | 'warning' | 'error' | 'info'; +} + +// Warning: (ae-forgotten-export) The symbol "BankAccountProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "BankAccount" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function BankAccount(props: BankAccountProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_8" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "BankFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormData = { + [K in keyof typeof fieldValidators_8]: z.infer<(typeof fieldValidators_8)[K]>; +}; + +// Warning: (ae-missing-release-tag) "BankFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormErrorCode = (typeof BankFormErrorCodes)[keyof typeof BankFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "BankFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const BankFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly INVALID_ROUTING_NUMBER: "INVALID_ROUTING_NUMBER"; + readonly INVALID_ACCOUNT_NUMBER: "INVALID_ACCOUNT_NUMBER"; +}; + +// Warning: (ae-missing-release-tag) "BankFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormField = keyof typeof fieldValidators_8; + +// Warning: (ae-missing-release-tag) "BankFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BankFormFields { + // Warning: (ae-forgotten-export) The symbol "AccountNumberField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + AccountNumber: typeof AccountNumberField; + // Warning: (ae-forgotten-export) The symbol "AccountTypeField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + AccountType: typeof AccountTypeField; + // Warning: (ae-forgotten-export) The symbol "NameField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Name: typeof NameField; + // Warning: (ae-forgotten-export) The symbol "RoutingNumberField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + RoutingNumber: typeof RoutingNumberField; +} + +// Warning: (ae-missing-release-tag) "BankFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormFieldsMetadata = UseBankFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "OptionalFieldsToRequire" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_7" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "BankFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "BankFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormOutputs = BankFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormRequiredValidation = typeof BankFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "BankFormSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BankFormSubmitOptions { + employeeId?: string; +} + +// Warning: (ae-missing-release-tag) "BannerProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BannerProps extends Pick, 'className' | 'id' | 'aria-label'> { + children: ReactNode; + status?: 'warning' | 'error'; + title: ReactNode; +} + +// Warning: (ae-missing-release-tag) "BaseFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BaseFieldProps { + // (undocumented) + description?: default_2.ReactNode; + // (undocumented) + label: string; +} + +// Warning: (ae-missing-release-tag) "BaseFormHookReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface BaseFormHookReady> { + // (undocumented) + actions: Record; + // (undocumented) + data: Record; + // (undocumented) + errorHandling: HookErrorHandling; + // (undocumented) + form: { + Fields: TFields; + fieldsMetadata: TFieldsMetadata; + hookFormInternals: HookFormInternals; + getFormSubmissionValues: () => Record | undefined; + }; + // (undocumented) + isLoading: false; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "BaseHookReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface BaseHookReady = Record, TStatus extends Record = Record> { + // (undocumented) + data: TData; + // (undocumented) + errorHandling: HookErrorHandling; + // (undocumented) + isLoading: false; + // (undocumented) + status: TStatus; +} + +export { BeforeCreateRequestContext } + +export { BeforeCreateRequestHook } + +export { BeforeRequestContext } + +export { BeforeRequestHook } + +// Warning: (ae-missing-release-tag) "BoxHeaderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BoxHeaderProps { + // (undocumented) + action?: ReactNode; + // (undocumented) + description?: ReactNode; + // (undocumented) + headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; + // (undocumented) + title: ReactNode; +} + +// Warning: (ae-missing-release-tag) "BoxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BoxProps { + // (undocumented) + children: ReactNode; + // (undocumented) + className?: string; + // (undocumented) + footer?: ReactNode; + // (undocumented) + header?: ReactNode; + // (undocumented) + withPadding?: boolean; +} + +// Warning: (ae-missing-release-tag) "BreadcrumbsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BreadcrumbsProps { + 'aria-label'?: string; + // Warning: (ae-forgotten-export) The symbol "Breadcrumb" needs to be exported by the entry point index.d.ts + breadcrumbs: Breadcrumb[]; + className?: string; + currentBreadcrumbId?: string; + isSmallContainer?: boolean; + onClick?: (id: string) => void; +} + +// Warning: (ae-missing-release-tag) "ButtonIconProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ButtonIconProps = ButtonProps & { + 'aria-label': string; +}; + +// Warning: (ae-missing-release-tag) "ButtonProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ButtonProps extends Pick, 'name' | 'id' | 'className' | 'type' | 'onClick' | 'onKeyDown' | 'onKeyUp' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'form' | 'title' | 'tabIndex'> { + buttonRef?: Ref; + children?: ReactNode; + icon?: ReactNode; + isDisabled?: boolean; + isLoading?: boolean; + onBlur?: (e: FocusEvent_2) => void; + onFocus?: (e: FocusEvent_2) => void; + variant?: 'primary' | 'secondary' | 'tertiary' | 'error'; +} + +// Warning: (ae-missing-release-tag) "CalendarPreviewProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CalendarPreviewProps = { + highlightDates?: Array<{ + date: Date; + highlightColor: 'primary' | 'secondary'; + label: string; + }>; + dateRange: { + start: Date; + end: Date; + label: string; + }; +}; + +// Warning: (ae-missing-release-tag) "CardProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CardProps { + action?: ReactNode; + children: ReactNode; + className?: string; + menu?: ReactNode; +} + +// Warning: (ae-missing-release-tag) "CaseNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CaseNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "CheckboxGroupOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CheckboxGroupOption { + description?: React.ReactNode; + isDisabled?: boolean; + label: React.ReactNode; + value: string; +} + +// Warning: (ae-forgotten-export) The symbol "SharedFieldLayoutProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CheckboxGroupProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CheckboxGroupProps extends SharedFieldLayoutProps, Pick, 'className'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onChange?: (value: string[]) => void; + options: Array; + value?: string[]; +} + +// Warning: (ae-missing-release-tag) "CheckboxHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function CheckboxHookField(input: CheckboxHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "CheckboxHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CheckboxHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + name: string; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-forgotten-export) The symbol "SharedHorizontalFieldLayoutProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CheckboxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CheckboxProps extends SharedHorizontalFieldLayoutProps, Pick, 'name' | 'id' | 'className'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onBlur?: () => void; + onChange?: (value: boolean) => void; + value?: boolean; +} + +// Warning: (ae-missing-release-tag) "AmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentAmountFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentAmountValidation = ChildSupportGarnishmentRequiredValidation | ChildSupportGarnishmentPercentValidation; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentFormData = { + [K in keyof typeof fieldValidators_2]: z.infer<(typeof fieldValidators_2)[K]>; +}; + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentFormErrorCode = (typeof ChildSupportGarnishmentFormErrorCodes)[keyof typeof ChildSupportGarnishmentFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ChildSupportGarnishmentFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly NEGATIVE_AMOUNT: "NEGATIVE_AMOUNT"; + readonly PERCENT_OUT_OF_RANGE: "PERCENT_OUT_OF_RANGE"; +}; + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ChildSupportGarnishmentFormFields { + // Warning: (ae-forgotten-export) The symbol "AmountField_2" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Amount: typeof AmountField_2; + // Warning: (ae-forgotten-export) The symbol "CaseNumberField" needs to be exported by the entry point index.d.ts + CaseNumber: typeof CaseNumberField | undefined; + // Warning: (ae-forgotten-export) The symbol "FipsCodeField" needs to be exported by the entry point index.d.ts + FipsCode: typeof FipsCodeField | undefined; + // Warning: (ae-forgotten-export) The symbol "OrderNumberField" needs to be exported by the entry point index.d.ts + OrderNumber: typeof OrderNumberField | undefined; + // Warning: (ae-forgotten-export) The symbol "PaymentPeriodField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + PaymentPeriod: typeof PaymentPeriodField; + // Warning: (ae-forgotten-export) The symbol "PayPeriodMaximumField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + PayPeriodMaximum: typeof PayPeriodMaximumField; + // Warning: (ae-forgotten-export) The symbol "RemittanceNumberField" needs to be exported by the entry point index.d.ts + RemittanceNumber: typeof RemittanceNumberField | undefined; + // Warning: (ae-forgotten-export) The symbol "StateField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + State: typeof StateField; +} + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentFormFieldsMetadata = UseChildSupportGarnishmentFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentFormOutputs = ChildSupportGarnishmentFormData; + +// Warning: (ae-missing-release-tag) "NegativeAmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentNegativeAmountValidation = typeof ChildSupportGarnishmentFormErrorCodes.NEGATIVE_AMOUNT; + +// Warning: (ae-missing-release-tag) "PercentValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentPercentValidation = typeof ChildSupportGarnishmentFormErrorCodes.PERCENT_OUT_OF_RANGE; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentRequiredValidation = typeof ChildSupportGarnishmentFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "StateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentStateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "CityFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CityFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "QueryWithError" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "collectErrors" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function collectErrors(queries: QueryWithError[], submitError: SDKError | null): SDKError[]; + +// Warning: (ae-missing-release-tag) "ComboBoxOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ComboBoxOption { + label: string; + value: string; +} + +// Warning: (ae-missing-release-tag) "ComboBoxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ComboBoxProps extends SharedFieldLayoutProps, Pick, 'className' | 'id' | 'name' | 'placeholder'> { + allowsCustomValue?: boolean; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + label: string; + onBlur?: () => void; + onChange?: (value: string) => void; + options: ComboBoxOption[]; + portalContainer?: HTMLElement; + value?: string | null; +} + +declare namespace Company { + export { + Industry, + AssignSignatory, + CreateSignatory, + InviteSignatory, + DocumentList, + SignatureForm, + DocumentSigner, + OnboardingOverview, + Locations, + LocationForm, + PaySchedule, + FederalTaxes, + BankAccount, + StateTaxesList, + StateTaxesForm, + StateTaxes, + OnboardingFlow + } +} + +declare namespace CompanyOnboarding { + export { + OnboardingFlow, + OnboardingOverview, + DocumentSigner, + DocumentList, + SignatureForm, + Industry, + BankAccount, + Locations, + LocationForm, + PaySchedule, + FederalTaxes, + StateTaxes, + StateTaxesForm, + StateTaxesList, + AssignSignatory, + CreateSignatory, + InviteSignatory + } +} + +// Warning: (ae-forgotten-export) The symbol "CompensationProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Compensation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "Compensation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Compensation_2(props: CompensationProps): JSX_2.Element; + +// @public (undocumented) +namespace Compensation_2 { + var // Warning: (ae-forgotten-export) The symbol "JobsList" needs to be exported by the entry point index.d.ts + // + // (undocumented) + JobsList: JobsList; + var // Warning: (ae-forgotten-export) The symbol "EditCompensation" needs to be exported by the entry point index.d.ts + // + // (undocumented) + EditCompensation: EditCompensation; +} + +// Warning: (ae-missing-release-tag) "EffectiveDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationEffectiveDateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "EffectiveDateValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationEffectiveDateValidation = (typeof CompensationErrorCodes)['REQUIRED' | 'EFFECTIVE_DATE_BEFORE_HIRE' | 'EFFECTIVE_DATE_BEFORE_MIN']; + +// Warning: (ae-missing-release-tag) "CompensationErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationErrorCode = (typeof CompensationErrorCodes)[keyof typeof CompensationErrorCodes]; + +// Warning: (ae-missing-release-tag) "CompensationErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const CompensationErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly RATE_MINIMUM: "RATE_MINIMUM"; + readonly RATE_EXEMPT_THRESHOLD: "RATE_EXEMPT_THRESHOLD"; + readonly PAYMENT_UNIT_OWNER: "PAYMENT_UNIT_OWNER"; + readonly PAYMENT_UNIT_COMMISSION: "PAYMENT_UNIT_COMMISSION"; + readonly RATE_COMMISSION_ZERO: "RATE_COMMISSION_ZERO"; + readonly EFFECTIVE_DATE_BEFORE_HIRE: "EFFECTIVE_DATE_BEFORE_HIRE"; + readonly EFFECTIVE_DATE_BEFORE_MIN: "EFFECTIVE_DATE_BEFORE_MIN"; +}; + +// Warning: (ae-missing-release-tag) "CompensationFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationFieldsMetadata = UseCompensationFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_3" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CompensationFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationFormData = { + [K in keyof typeof fieldValidators_3]: z.infer<(typeof fieldValidators_3)[K]>; +}; + +// Warning: (ae-missing-release-tag) "CompensationFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CompensationFormFields { + // Warning: (ae-forgotten-export) The symbol "AdjustForMinimumWageField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + AdjustForMinimumWage: typeof AdjustForMinimumWageField | undefined; + // Warning: (ae-forgotten-export) The symbol "EffectiveDateField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + EffectiveDate: typeof EffectiveDateField | undefined; + // Warning: (ae-forgotten-export) The symbol "FlsaStatusField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + FlsaStatus: typeof FlsaStatusField | undefined; + // Warning: (ae-forgotten-export) The symbol "MinimumWageIdField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + MinimumWageId: typeof MinimumWageIdField | undefined; + // Warning: (ae-forgotten-export) The symbol "PaymentUnitField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + PaymentUnit: typeof PaymentUnitField; + // Warning: (ae-forgotten-export) The symbol "RateField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Rate: typeof RateField; + // Warning: (ae-forgotten-export) The symbol "TitleField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Title: typeof TitleField; +} + +// Warning: (ae-missing-release-tag) "CompensationFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationFormOutputs = CompensationFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CompensationOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationRequiredValidation = typeof CompensationErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "CompensationSchemaOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CompensationSchemaOptions { + hireDate?: string | null; + minEffectiveDate?: string | null; + // (undocumented) + mode?: 'create' | 'update'; + // (undocumented) + optionalFieldsToRequire?: CompensationOptionalFieldsToRequire; + withEffectiveDateField?: boolean; +} + +// Warning: (ae-missing-release-tag) "CompensationSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CompensationSubmitOptions { + compensationId?: string; + compensationVersion?: string; + effectiveDate?: string; + jobId?: string; +} + +// Warning: (ae-missing-release-tag) "TitleFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationTitleFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "componentEvents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const componentEvents: { + readonly TIME_OFF_CREATE_POLICY: "timeOff/createPolicy"; + readonly TIME_OFF_VIEW_POLICY: "timeOff/viewPolicy"; + readonly TIME_OFF_POLICY_TYPE_SELECTED: "timeOff/policyTypeSelected"; + readonly TIME_OFF_POLICY_DETAILS_DONE: "timeOff/policyDetails/done"; + readonly TIME_OFF_POLICY_SETTINGS_DONE: "timeOff/policySettings/done"; + readonly TIME_OFF_POLICY_SETTINGS_BACK: "timeOff/policySettings/back"; + readonly TIME_OFF_ADD_EMPLOYEES_DONE: "timeOff/addEmployees/done"; + readonly TIME_OFF_ADD_EMPLOYEES_BACK: "timeOff/addEmployees/back"; + readonly TIME_OFF_HOLIDAY_SELECTION_DONE: "timeOff/holidaySelection/done"; + readonly TIME_OFF_HOLIDAY_ADD_EMPLOYEES_DONE: "timeOff/holidayAddEmployees/done"; + readonly TIME_OFF_VIEW_POLICY_DETAILS: "timeOff/viewPolicyDetails"; + readonly TIME_OFF_VIEW_POLICY_EMPLOYEES: "timeOff/viewPolicyEmployees"; + readonly TIME_OFF_VIEW_HOLIDAY_EMPLOYEES: "timeOff/viewHolidayEmployees"; + readonly TIME_OFF_VIEW_HOLIDAY_SCHEDULE: "timeOff/viewHolidaySchedule"; + readonly TIME_OFF_BACK_TO_LIST: "timeOff/backToList"; + readonly TIME_OFF_POLICY_CREATE_ERROR: "timeOff/policyCreate/error"; + readonly TIME_OFF_POLICY_SETTINGS_ERROR: "timeOff/policySettings/error"; + readonly TIME_OFF_ADD_EMPLOYEES_ERROR: "timeOff/addEmployees/error"; + readonly TIME_OFF_HOLIDAY_CREATE_ERROR: "timeOff/holidayCreate/error"; + readonly TIME_OFF_HOLIDAY_ADD_EMPLOYEES_ERROR: "timeOff/holidayAddEmployees/error"; + readonly TIME_OFF_EDIT_POLICY: "timeOff/editPolicy"; + readonly TIME_OFF_CHANGE_SETTINGS: "timeOff/changeSettings"; + readonly TIME_OFF_ADD_EMPLOYEES_TO_POLICY: "timeOff/addEmployeesToPolicy"; + readonly TIME_OFF_HOLIDAY_ADD_EMPLOYEES: "timeOff/holidayAddEmployees"; + readonly TIME_OFF_EDIT_HOLIDAY_POLICY: "timeOff/editHolidayPolicy"; + readonly TIME_OFF_HOLIDAY_SELECTION_EDIT_DONE: "timeOff/holidaySelection/editDone"; + readonly TIME_OFF_DELETE_POLICY_DONE: "timeOff/deletePolicy/done"; + readonly EMPLOYEE_TERMINATION_CREATED: "employee/termination/created"; + readonly EMPLOYEE_TERMINATION_UPDATED: "employee/termination/updated"; + readonly EMPLOYEE_TERMINATION_PAYROLL_CREATED: "employee/termination/payroll/created"; + readonly EMPLOYEE_TERMINATION_PAYROLL_FAILED: "employee/termination/payroll/failed"; + readonly EMPLOYEE_TERMINATION_DONE: "employee/termination/done"; + readonly EMPLOYEE_TERMINATION_CANCELLED: "employee/termination/cancelled"; + readonly EMPLOYEE_TERMINATION_EDIT: "employee/termination/edit"; + readonly EMPLOYEE_TERMINATION_RUN_PAYROLL: "employee/termination/runPayroll"; + readonly EMPLOYEE_TERMINATION_RUN_OFF_CYCLE_PAYROLL: "employee/termination/runOffCyclePayroll"; + readonly EMPLOYEE_TERMINATION_VIEW_SUMMARY: "employee/termination/viewSummary"; + readonly OFF_CYCLE_CREATED: "offCycle/created"; + readonly DISMISSAL_PAY_PERIOD_SELECTED: "dismissal/payPeriod/selected"; + readonly TRANSITION_CREATED: "transition/created"; + readonly RUN_TRANSITION_PAYROLL: "transition/runPayroll"; + readonly TRANSITION_PAYROLL_SKIPPED: "transition/payrollSkipped"; + readonly CONTRACTOR_PAYMENT_CREATE: "contractor/payments/create"; + readonly CONTRACTOR_PAYMENT_EDIT: "contractor/payments/edit"; + readonly CONTRACTOR_PAYMENT_UPDATE: "contractor/payments/update"; + readonly CONTRACTOR_PAYMENT_PREVIEW: "contractor/payments/preview"; + readonly CONTRACTOR_PAYMENT_BACK_TO_EDIT: "contractor/payments/backToEdit"; + readonly CONTRACTOR_PAYMENT_CREATED: "contractor/payments/created"; + readonly CONTRACTOR_PAYMENT_SUBMIT: "contractor/payments/submit"; + readonly CONTRACTOR_PAYMENT_VIEW: "contractor/payments/view"; + readonly CONTRACTOR_PAYMENT_VIEW_DETAILS: "contractor/payments/view/details"; + readonly CONTRACTOR_PAYMENT_CANCEL: "contractor/payments/cancel"; + readonly CONTRACTOR_PAYMENT_EXIT: "contractor/payments/exit"; + readonly CONTRACTOR_PAYMENT_RFI_RESPOND: "contractor/payments/rfi/respond"; + readonly RECOVERY_CASE_RESOLVE: "recoveryCase/resolve"; + readonly RECOVERY_CASE_RESUBMIT: "recoveryCase/resubmit"; + readonly RECOVERY_CASE_RESUBMIT_CANCEL: "recoveryCase/resubmit/cancel"; + readonly RECOVERY_CASE_RESUBMIT_DONE: "recoveryCase/resubmit/done"; + readonly INFORMATION_REQUEST_RESPOND: "informationRequest/respond"; + readonly INFORMATION_REQUEST_FORM_SUBMIT: "informationRequest/form/submit"; + readonly INFORMATION_REQUEST_FORM_CANCEL: "informationRequest/form/cancel"; + readonly INFORMATION_REQUEST_FORM_DONE: "informationRequest/form/done"; + readonly PAYROLL_WIRE_START_TRANSFER: "payroll/wire/startTransfer"; + readonly PAYROLL_WIRE_INSTRUCTIONS_DONE: "payroll/wire/instructions/done"; + readonly PAYROLL_WIRE_INSTRUCTIONS_CANCEL: "payroll/wire/instructions/cancel"; + readonly PAYROLL_WIRE_INSTRUCTIONS_SELECT: "payroll/wire/instructions/select"; + readonly PAYROLL_WIRE_FORM_DONE: "payroll/wire/form/done"; + readonly PAYROLL_WIRE_FORM_CANCEL: "payroll/wire/form/cancel"; + readonly RUN_PAYROLL_BACK: "runPayroll/back"; + readonly RUN_PAYROLL_CALCULATED: "runPayroll/calculated"; + readonly RUN_PAYROLL_CANCELLED: "runPayroll/cancelled"; + readonly RUN_PAYROLL_CANCELLED_ALERT_DISMISSED: "runPayroll/cancelled/alertDismissed"; + readonly RUN_PAYROLL_EDIT: "runPayroll/edit"; + readonly RUN_PAYROLL_EMPLOYEE_EDIT: "runPayroll/employee/edit"; + readonly RUN_PAYROLL_EMPLOYEE_SKIP: "runPayroll/employee/skip"; + readonly RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved"; + readonly RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled"; + readonly RUN_PAYROLL_SELECTED: "runPayroll/selected"; + readonly RUN_OFF_CYCLE_PAYROLL: "runPayroll/offCycle/start"; + readonly OFF_CYCLE_SELECT_REASON: "offCycle/selectReason"; + readonly OFF_CYCLE_DEDUCTIONS_CHANGE: "offCycle/deductionsChange"; + readonly RUN_PAYROLL_SUBMITTED: "runPayroll/submitted"; + readonly RUN_PAYROLL_SUBMITTING: "runPayroll/submitting"; + readonly RUN_PAYROLL_SUMMARY_VIEWED: "runPayroll/summary/viewed"; + readonly RUN_PAYROLL_RECEIPT_GET: "runPayroll/receipt/get"; + readonly RUN_PAYROLL_RECEIPT_VIEWED: "runPayroll/receipt/viewed"; + readonly RUN_PAYROLL_PROCESSED: "runPayroll/processed"; + readonly RUN_PAYROLL_PROCESSING_FAILED: "runPayroll/processingFailed"; + readonly RUN_PAYROLL_PDF_PAYSTUB_VIEWED: "runPayroll/pdfPaystub/viewed"; + readonly RUN_PAYROLL_BLOCKERS_DETECTED: "runPayroll/blockers/detected"; + readonly RUN_PAYROLL_BLOCKER_RESOLUTION_ATTEMPTED: "runPayroll/blocker/resolutionAttempted"; + readonly RUN_PAYROLL_BLOCKERS_VIEW_ALL: "runPayroll/blockers/viewAll"; + readonly RUN_PAYROLL_DATES_CONFIGURED: "runPayroll/dates/configured"; + readonly REVIEW_PAYROLL: "payroll/review"; + readonly PAYROLL_SKIPPED: "payroll/skipped"; + readonly PAYROLL_DELETED: "payroll/deleted"; + readonly PAYROLL_EXIT_FLOW: "payroll/saveAndExit"; + readonly RUN_PAYROLL_GROSS_UP_SELECTED: "runPayroll/grossUp/selected"; + readonly RUN_PAYROLL_GROSS_UP_CALCULATED: "runPayroll/grossUp/calculated"; + readonly CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated"; + readonly CONTRACTOR_ADDRESS_DONE: "contractor/address/done"; + readonly CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated"; + readonly CONTRACTOR_BANK_ACCOUNT_CREATED: "contractor/bankAccount/created"; + readonly CONTRACTOR_PAYMENT_METHOD_DONE: "contractor/paymentMethod/done"; + readonly CONTRACTOR_CREATE: "contractor/create"; + readonly CONTRACTOR_CREATED: "contractor/created"; + readonly CONTRACTOR_UPDATE: "contractor/update"; + readonly CONTRACTOR_UPDATED: "contractor/updated"; + readonly CONTRACTOR_DELETED: "contractor/deleted"; + readonly CONTRACTOR_PROFILE_DONE: "contractor/profile/done"; + readonly CONTRACTOR_NEW_HIRE_REPORT_UPDATED: "contractor/newHireReport/updated"; + readonly CONTRACTOR_NEW_HIRE_REPORT_DONE: "contractor/newHireReport/done"; + readonly CONTRACTOR_SUBMIT_DONE: "contractor/submit/done"; + readonly CONTRACTOR_ONBOARDING_STATUS_UPDATED: "contractor/onboardingStatus/updated"; + readonly CONTRACTOR_INVITE_CONTRACTOR: "contractor/invite/selfOnboarding"; + readonly CONTRACTOR_ONBOARDING_CONTINUE: "contractor/onboarding/continue"; + readonly PAY_SCHEDULE_CREATE: "paySchedule/create"; + readonly PAY_SCHEDULE_CREATED: "paySchedule/created"; + readonly PAY_SCHEDULE_UPDATE: "paySchedule/update"; + readonly PAY_SCHEDULE_UPDATED: "paySchedule/updated"; + readonly PAY_SCHEDULE_DELETE: "paySchedule/delete"; + readonly PAY_SCHEDULE_DELETED: "paySchedule/deleted"; + readonly PAY_SCHEDULE_DONE: "paySchedule/done"; + readonly COMPANY_INDUSTRY: "company/industry"; + readonly COMPANY_INDUSTRY_SELECTED: "company/industry/selected"; + readonly COMPANY_FEDERAL_TAXES_UPDATED: "company/federalTaxes/updated"; + readonly COMPANY_FEDERAL_TAXES_DONE: "company/federalTaxes/done"; + readonly COMPANY_SIGNATORY_CREATED: "company/signatory/created"; + readonly COMPANY_SIGNATORY_INVITED: "company/signatory/invited"; + readonly COMPANY_SIGNATORY_UPDATED: "company/signatory/updated"; + readonly COMPANY_CREATE_SIGNATORY_DONE: "company/signatory/createSignatory/done"; + readonly COMPANY_INVITE_SIGNATORY_DONE: "company/signatory/inviteSignatory/done"; + readonly COMPANY_ASSIGN_SIGNATORY_MODE_UPDATED: "company/signatory/assignSignatory/modeUpdated"; + readonly COMPANY_ASSIGN_SIGNATORY_DONE: "company/signatory/assignSignatory/done"; + readonly COMPANY_FORM_EDIT_SIGNATORY: "company/forms/editSignatory"; + readonly COMPANY_FORMS_DONE: "company/forms/done"; + readonly COMPANY_VIEW_FORM_TO_SIGN: "company/forms/view"; + readonly COMPANY_SIGN_FORM: "company/forms/sign/signForm"; + readonly COMPANY_SIGN_FORM_DONE: "company/forms/sign/done"; + readonly COMPANY_SIGN_FORM_BACK: "company/forms/sign/back"; + readonly COMPANY_LOCATION_CREATE: "company/location/add"; + readonly COMPANY_LOCATION_CREATED: "company/location/add/done"; + readonly COMPANY_LOCATION_EDIT: "company/location/edit"; + readonly COMPANY_LOCATION_UPDATED: "company/location/edit/done"; + readonly COMPANY_LOCATION_DONE: "company/location/done"; + readonly COMPANY_BANK_ACCOUNT_CHANGE: "company/bankAccount/change"; + readonly COMPANY_BANK_ACCOUNT_CANCEL: "company/bankAccount/cancel"; + readonly COMPANY_BANK_ACCOUNT_CREATED: "company/bankAccount/created"; + readonly COMPANY_BANK_ACCOUNT_VERIFY: "company/bankAccount/verify"; + readonly COMPANY_BANK_ACCOUNT_DONE: "company/bankAccount/done"; + readonly COMPANY_BANK_ACCOUNT_VERIFIED: "company/bankAccount/verified"; + readonly COMPANY_STATE_TAX_UPDATED: "company/stateTaxes/updated"; + readonly COMPANY_STATE_TAX_DONE: "company/stateTaxes/done"; + readonly COMPANY_STATE_TAX_EDIT: "company/stateTaxes/edit"; + readonly COMPANY_OVERVIEW_DONE: "company/overview/done"; + readonly COMPANY_OVERVIEW_CONTINUE: "company/overview/continue"; + readonly EMPLOYEE_CREATE: "employee/create"; + readonly EMPLOYEE_CREATED: "employee/created"; + readonly EMPLOYEE_UPDATE: "employee/update"; + readonly EMPLOYEE_UPDATED: "employee/updated"; + readonly EMPLOYEE_DELETED: "employee/deleted"; + readonly EMPLOYEE_DISMISS: "employee/dismiss"; + readonly EMPLOYEE_ONBOARDING_DONE: "employee/onboarding/done"; + readonly EMPLOYEE_PROFILE_DONE: "employee/profile/done"; + readonly EMPLOYEE_HOME_ADDRESS: "employee/addresses/home"; + readonly EMPLOYEE_HOME_ADDRESS_UPDATE: "employee/addresses/home/update"; + readonly EMPLOYEE_HOME_ADDRESS_CREATED: "employee/addresses/home/created"; + readonly EMPLOYEE_HOME_ADDRESS_UPDATED: "employee/addresses/home/updated"; + readonly EMPLOYEE_HOME_ADDRESS_DELETED: "employee/addresses/home/deleted"; + readonly EMPLOYEE_WORK_ADDRESS: "employee/addresses/work"; + readonly EMPLOYEE_WORK_ADDRESS_UPDATE: "employee/addresses/work/update"; + readonly EMPLOYEE_WORK_ADDRESS_CREATED: "employee/addresses/work/created"; + readonly EMPLOYEE_WORK_ADDRESS_UPDATED: "employee/addresses/work/updated"; + readonly EMPLOYEE_WORK_ADDRESS_DELETED: "employee/addresses/work/deleted"; + readonly EMPLOYEE_DEDUCTION_ADD: "employee/deductions/add"; + readonly EMPLOYEE_DEDUCTION_CREATED: "employee/deductions/created"; + readonly EMPLOYEE_DEDUCTION_UPDATED: "employee/deductions/updated"; + readonly EMPLOYEE_DEDUCTION_DELETED: "employee/deductions/deleted"; + readonly EMPLOYEE_DEDUCTION_DELETED_EMPTY: "employee/deductions/deletedEmpty"; + readonly EMPLOYEE_DEDUCTION_DONE: "employee/deductions/done"; + readonly EMPLOYEE_DEDUCTION_EDIT: "employee/deductions/edit"; + readonly EMPLOYEE_DEDUCTION_CANCEL: "employee/deductions/cancel"; + readonly EMPLOYEE_DEDUCTION_CANCEL_EMPTY: "employee/deductions/cancelEmpty"; + readonly EMPLOYEE_DEDUCTION_INCLUDE_YES: "employee/deductions/include/yes"; + readonly EMPLOYEE_DEDUCTION_INCLUDE_NO: "employee/deductions/include/no"; + readonly EMPLOYEE_COMPENSATION_CREATE: "employee/compensations/create"; + readonly EMPLOYEE_COMPENSATION_CREATED: "employee/compensations/created"; + readonly EMPLOYEE_COMPENSATION_UPDATED: "employee/compensations/updated"; + readonly EMPLOYEE_COMPENSATION_DONE: "employee/compensations/done"; + readonly EMPLOYEE_COMPENSATION_CANCEL: "employee/compensations/cancel"; + readonly EMPLOYEE_COMPENSATION_CHANGE_CANCELLED: "employee/compensations/changeCancelled"; + readonly EMPLOYEE_COMPENSATION_RETURN_TO_LIST: "employee/compensations/returnToList"; + readonly EMPLOYEE_JOB_ADD: "employee/job/add"; + readonly EMPLOYEE_JOB_ADD_ANOTHER: "employee/job/addAnother"; + readonly EMPLOYEE_JOB_EDIT: "employee/job/edit"; + readonly EMPLOYEE_PAYMENT_METHOD_UPDATED: "employee/paymentMethod/updated"; + readonly EMPLOYEE_PAYMENT_METHOD_DONE: "employee/paymentMethod/done"; + readonly EMPLOYEE_PAYMENT_METHOD_RESET: "employee/paymentMethod/reset"; + readonly EMPLOYEE_SPLIT_PAYMENT: "employee/paymentMethod/split"; + readonly EMPLOYEE_BANK_ACCOUNT_CREATE: "employee/bankAccount/create"; + readonly EMPLOYEE_BANK_ACCOUNT_CREATED: "employee/bankAccount/created"; + readonly EMPLOYEE_BANK_ACCOUNT_DELETED: "employee/bankAccount/deleted"; + readonly EMPLOYEE_FEDERAL_TAXES_EDIT: "employee/federalTaxes/edit"; + readonly EMPLOYEE_FEDERAL_TAXES_UPDATED: "employee/federalTaxes/updated"; + readonly EMPLOYEE_FEDERAL_TAXES_DONE: "employee/federalTaxes/done"; + readonly EMPLOYEE_STATE_TAXES_EDIT: "employee/stateTaxes/edit"; + readonly EMPLOYEE_STATE_TAXES_UPDATED: "employee/stateTaxes/updated"; + readonly EMPLOYEE_STATE_TAXES_DONE: "employee/stateTaxes/done"; + readonly EMPLOYEE_TAXES_DONE: "employee/taxes/done"; + readonly EMPLOYEE_SPLIT_PAYCHECK: "employee/bankAccount/split"; + readonly EMPLOYEE_JOB_CREATED: "employee/job/created"; + readonly EMPLOYEE_JOB_UPDATED: "employee/job/updated"; + readonly EMPLOYEE_JOB_DELETED: "employee/job/deleted"; + readonly EMPLOYEE_SUMMARY_VIEW: "employee/summary"; + readonly EMPLOYEES_LIST: "company/employees"; + readonly EMPLOYEE_SELF_ONBOARDING_START: "employee/selfOnboarding/start"; + readonly EMPLOYEE_VIEW_FORM_TO_SIGN: "employee/forms/view"; + readonly EMPLOYEE_SIGN_FORM: "employee/forms/sign"; + readonly EMPLOYEE_FORMS_DONE: "employee/forms/done"; + readonly EMPLOYEE_ONBOARDING_STATUS_UPDATED: "employee/onboardingStatus/updated"; + readonly EMPLOYEE_EMPLOYMENT_ELIGIBILITY_DONE: "employee/employmentEligibility/done"; + readonly EMPLOYEE_CHANGE_ELIGIBILITY_STATUS: "employee/employmentEligibility/change"; + readonly EMPLOYEE_ONBOARDING_DOCUMENTS_CONFIG_UPDATED: "employee/onboardingDocumentsConfig/updated"; + readonly EMPLOYEE_DOCUMENTS_DONE: "employee/documents/done"; + readonly EMPLOYEE_REHIRE: "employee/rehire"; + readonly EMPLOYEE_DASHBOARD_TAB_CHANGE: "employee/dashboard/tabChange"; + readonly EMPLOYEE_RETURN_TO_LIST: "employee/returnToList"; + readonly ROBOT_MACHINE_DONE: "done"; + readonly ERROR: "ERROR"; + readonly CANCEL: "CANCEL"; + readonly BREADCRUMB_NAVIGATE: "breadcrumb/navigate"; +}; + +// Warning: (ae-missing-release-tag) "ComponentsContextType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ComponentsContextType { + // (undocumented) + Alert: (props: AlertProps) => JSX.Element | null; + // (undocumented) + Badge: (props: BadgeProps) => JSX.Element | null; + // (undocumented) + Banner: (props: BannerProps) => JSX.Element | null; + // (undocumented) + Box: (props: BoxProps) => JSX.Element | null; + // (undocumented) + BoxHeader: (props: BoxHeaderProps) => JSX.Element | null; + // (undocumented) + Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element | null; + // (undocumented) + Button: (props: ButtonProps) => JSX.Element | null; + // (undocumented) + ButtonIcon: (props: ButtonIconProps) => JSX.Element | null; + // (undocumented) + CalendarPreview: (props: CalendarPreviewProps) => JSX.Element | null; + // (undocumented) + Card: (props: CardProps) => JSX.Element | null; + // (undocumented) + Checkbox: (props: CheckboxProps) => JSX.Element | null; + // (undocumented) + CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element | null; + // (undocumented) + ComboBox: (props: ComboBoxProps) => JSX.Element | null; + // (undocumented) + DatePicker: (props: DatePickerProps) => JSX.Element | null; + // Warning: (ae-forgotten-export) The symbol "DateRangePickerProps" needs to be exported by the entry point index.d.ts + // + // (undocumented) + DateRangePicker: (props: DateRangePickerProps) => JSX.Element | null; + // (undocumented) + DescriptionList: (props: DescriptionListProps) => JSX.Element | null; + // (undocumented) + Dialog: (props: DialogProps) => JSX.Element | null; + // (undocumented) + FileInput: (props: FileInputProps) => JSX.Element | null; + // (undocumented) + Heading: (props: HeadingProps) => JSX.Element | null; + // (undocumented) + Link: (props: LinkProps) => JSX.Element | null; + // (undocumented) + LoadingSpinner: (props: LoadingSpinnerProps) => JSX.Element | null; + // (undocumented) + Menu: (props: MenuProps) => JSX.Element | null; + // (undocumented) + Modal: (props: ModalProps) => JSX.Element | null; + // Warning: (ae-forgotten-export) The symbol "MultiSelectComboBoxProps" needs to be exported by the entry point index.d.ts + // + // (undocumented) + MultiSelectComboBox: (props: MultiSelectComboBoxProps) => JSX.Element | null; + // (undocumented) + NumberInput: (props: NumberInputProps) => JSX.Element | null; + // (undocumented) + OrderedList: (props: OrderedListProps) => JSX.Element | null; + // (undocumented) + PaginationControl?: (props: PaginationControlProps) => JSX.Element | null; + // (undocumented) + PayrollLoading?: (props: PayrollLoadingProps) => JSX.Element | null; + // (undocumented) + ProgressBar: (props: ProgressBarProps) => JSX.Element | null; + // (undocumented) + Radio: (props: RadioProps) => JSX.Element | null; + // (undocumented) + RadioGroup: (props: RadioGroupProps) => JSX.Element | null; + // (undocumented) + Select: (props: SelectProps) => JSX.Element | null; + // (undocumented) + Switch: (props: SwitchProps) => JSX.Element | null; + // (undocumented) + Table: (props: TableProps) => JSX.Element | null; + // (undocumented) + Tabs: (props: TabsProps) => JSX.Element | null; + // (undocumented) + Text: (props: TextProps) => JSX.Element | null; + // (undocumented) + TextArea: (props: TextAreaProps) => JSX.Element | null; + // (undocumented) + TextInput: (props: TextInputProps) => JSX.Element | null; + // (undocumented) + UnorderedList: (props: UnorderedListProps) => JSX.Element | null; +} + +// Warning: (ae-missing-release-tag) "composeErrorHandler" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function composeErrorHandler(sources: MixedErrorSource[], submitState?: SubmitStateForErrorHandling): HookErrorHandling; + +// Warning: (ae-forgotten-export) The symbol "ComposeSubmitInput" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "ComposeSubmitHandlerResult" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "composeSubmitHandler" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function composeSubmitHandler(forms: readonly [...{ + [K in keyof TForms]: ComposeSubmitInput; +}], onAllValid: () => Promise): ComposeSubmitHandlerResult; + +// Warning: (ae-missing-release-tag) "ConfirmSignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ConfirmSignatureFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "ConfirmWireDetailsInternalProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ConfirmWireDetails" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ConfirmWireDetails(input: ConfirmWireDetailsInternalProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ConfirmWireDetailsComponentType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ConfirmWireDetailsComponentType = ComponentType; + +// Warning: (ae-missing-release-tag) "ConfirmWireDetailsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ConfirmWireDetailsProps { + // (undocumented) + companyId: string; + // (undocumented) + onEvent?: BaseComponentInterface['onEvent']; + // (undocumented) + wireInId?: string; +} + +declare namespace Contractor { + export { + PaymentMethod, + Address, + ContractorList, + NewHireReport, + ContractorSubmit, + ContractorProfile, + OnboardingFlow_2 as OnboardingFlow, + PaymentFlow, + PaymentsList, + CreatePayment, + PaymentHistory, + PaymentSummary, + PaymentStatement + } +} + +// Warning: (ae-forgotten-export) The symbol "ContractorListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ContractorList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ContractorList(props: ContractorListProps & BaseComponentInterface): JSX_2.Element; + +declare namespace ContractorOnboarding { + export { + OnboardingFlow_2 as OnboardingFlow, + ContractorList, + ContractorProfile, + Address, + PaymentMethod, + NewHireReport, + ContractorSubmit + } +} + +// Warning: (ae-forgotten-export) The symbol "ContractorProfileProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ContractorProfile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ContractorProfile(props: ContractorProfileProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "ContractorSubmitProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ContractorSubmit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ContractorSubmit(props: ContractorSubmitProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "CountyEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CountyEntry = { + fipsCode: string; + county: string | null; +}; + +// Warning: (ae-missing-release-tag) "CourtesyWithholdingFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CourtesyWithholdingFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "BankFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "BuildFormSchemaResult" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createBankFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createBankFormSchema(options?: BankFormSchemaOptions): BuildFormSchemaResult< { +name: z.ZodString; +routingNumber: z.ZodString; +accountNumber: z.ZodString; +accountType: z.ZodEnum<{ +Checking: "Checking"; +Savings: "Savings"; +}>; +}>; + +// Warning: (ae-forgotten-export) The symbol "ChildSupportGarnishmentFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createChildSupportGarnishmentFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createChildSupportGarnishmentFormSchema(input?: ChildSupportGarnishmentFormSchemaOptions): BuildFormSchemaResult< { +state: z.ZodString; +fipsCode: z.ZodString; +caseNumber: z.ZodString; +orderNumber: z.ZodString; +remittanceNumber: z.ZodString; +payPeriodMaximum: z.ZodPipe, z.ZodNumber>; +amount: z.ZodPipe, z.ZodNumber>; +paymentPeriod: z.ZodEnum<{ +readonly EveryWeek: "Every week"; +readonly EveryOtherWeek: "Every other week"; +readonly TwicePerMonth: "Twice per month"; +readonly Monthly: "Monthly"; +}>; +}>; + +// Warning: (ae-missing-release-tag) "createCompensationSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createCompensationSchema(options?: CompensationSchemaOptions): BuildFormSchemaResult< { +title: z.ZodString; +flsaStatus: z.ZodOptional>; +paymentUnit: z.ZodEnum<{ +Hour: "Hour"; +Week: "Week"; +Month: "Month"; +Year: "Year"; +Paycheck: "Paycheck"; +}>; +rate: z.ZodPipe, z.ZodNumber>; +effectiveDate: z.ZodPipe, z.ZodNullable>; +adjustForMinimumWage: z.ZodBoolean; +minimumWageId: z.ZodString; +}>; + +// Warning: (ae-forgotten-export) The symbol "DeductionFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createDeductionFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createDeductionFormSchema(options: DeductionFormSchemaOptions): BuildFormSchemaResult< { +description: z.ZodString; +recurring: z.ZodPipe, z.ZodBoolean>; +deductAsPercentage: z.ZodPipe, z.ZodBoolean>; +amount: z.ZodPipe, z.ZodNumber>; +totalAmount: z.ZodPipe, z.ZodNumber>; +annualMaximum: z.ZodPipe, z.ZodNumber>; +garnishmentType: z.ZodEnum<{ +readonly ChildSupport: "child_support"; +readonly FederalTaxLien: "federal_tax_lien"; +readonly StateTaxLien: "state_tax_lien"; +readonly StudentLoan: "student_loan"; +readonly CreditorGarnishment: "creditor_garnishment"; +readonly FederalLoan: "federal_loan"; +readonly OtherGarnishment: "other_garnishment"; +}>; +}>; + +// Warning: (ae-forgotten-export) The symbol "EmployeeDetailsSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createEmployeeDetailsSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createEmployeeDetailsSchema(options?: EmployeeDetailsSchemaOptions): BuildFormSchemaResult< { +firstName: z.ZodString; +middleInitial: z.ZodString; +lastName: z.ZodString; +email: z.ZodEmail; +dateOfBirth: z.ZodISODate; +ssn: z.ZodString; +selfOnboarding: z.ZodBoolean; +}>; + +// Warning: (ae-forgotten-export) The symbol "EmployeeStateTaxesSchemaResult" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createEmployeeStateTaxesSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createEmployeeStateTaxesSchema(employeeStateTaxes: EmployeeStateTaxesList[], options?: EmployeeStateTaxesSchemaOptions): EmployeeStateTaxesSchemaResult; + +// Warning: (ae-forgotten-export) The symbol "FederalTaxesSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createFederalTaxesSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createFederalTaxesSchema(options?: FederalTaxesSchemaOptions): BuildFormSchemaResult< { +filingStatus: z.ZodString; +twoJobs: z.ZodPipe, z.ZodBoolean>; +dependentsAmount: z.ZodPipe, z.ZodNumber>; +otherIncome: z.ZodPipe, z.ZodNumber>; +deductions: z.ZodPipe, z.ZodNumber>; +extraWithholding: z.ZodPipe, z.ZodNumber>; +}>; + +// Warning: (ae-forgotten-export) The symbol "HomeAddressSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createHomeAddressSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createHomeAddressSchema(options?: HomeAddressSchemaOptions): BuildFormSchemaResult< { +street1: z.ZodString; +street2: z.ZodString; +city: z.ZodString; +state: z.ZodString; +zip: z.ZodString; +courtesyWithholding: z.ZodBoolean; +effectiveDate: z.ZodISODate; +}>; + +// Warning: (ae-forgotten-export) The symbol "JobSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createJobSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createJobSchema(options?: JobSchemaOptions): BuildFormSchemaResult< { +title: z.ZodString; +hireDate: z.ZodPipe, z.ZodNullable>; +twoPercentShareholder: z.ZodBoolean; +stateWcCovered: z.ZodPipe, z.ZodBoolean>; +stateWcClassCode: z.ZodString; +}>; + +// Warning: (ae-forgotten-export) The symbol "CreatePaymentProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CreatePayment" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function CreatePayment(props: CreatePaymentProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentMethodFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createPaymentMethodFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createPaymentMethodFormSchema(options?: PaymentMethodFormSchemaOptions): BuildFormSchemaResult< { +type: z.ZodEnum<{ +Check: "Check"; +"Direct Deposit": "Direct Deposit"; +}>; +}>; + +// Warning: (ae-forgotten-export) The symbol "PayScheduleSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createPayScheduleSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createPayScheduleSchema(options?: PayScheduleSchemaOptions): BuildFormSchemaResult< { +customName: z.ZodString; +frequency: z.ZodEnum<{ +"Every week": "Every week"; +"Every other week": "Every other week"; +"Twice per month": "Twice per month"; +Monthly: "Monthly"; +}>; +customTwicePerMonth: z.ZodString; +anchorPayDate: z.ZodPipe, z.ZodNullable>; +anchorEndOfPayPeriod: z.ZodPipe, z.ZodNullable>; +day1: z.ZodPipe, z.ZodNumber>; +day2: z.ZodPipe, z.ZodNumber>; +}>; + +// Warning: (ae-forgotten-export) The symbol "CreateSignatoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CreateSignatory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function CreateSignatory(props: CreateSignatoryProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "SignCompanyFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createSignCompanyFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createSignCompanyFormSchema(options?: SignCompanyFormSchemaOptions): BuildFormSchemaResult< { +signature: z.ZodString; +confirmSignature: z.ZodBoolean; +}>; + +// Warning: (ae-forgotten-export) The symbol "SignEmployeeFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createSignEmployeeFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createSignEmployeeFormSchema(options?: SignEmployeeFormSchemaOptions): BuildFormSchemaResult< { +signature: z.ZodString; +confirmSignature: z.ZodBoolean; +usedPreparer: z.ZodEnum<{ +yes: "yes"; +no: "no"; +}>; +preparerFirstName: z.ZodString; +preparerLastName: z.ZodString; +preparerStreet1: z.ZodString; +preparerStreet2: z.ZodString; +preparerCity: z.ZodString; +preparerState: z.ZodString; +preparerZip: z.ZodString; +preparerSignature: z.ZodString; +preparerAgree: z.ZodBoolean; +preparer2FirstName: z.ZodString; +preparer2LastName: z.ZodString; +preparer2Street1: z.ZodString; +preparer2Street2: z.ZodString; +preparer2City: z.ZodString; +preparer2State: z.ZodString; +preparer2Zip: z.ZodString; +preparer2Signature: z.ZodString; +preparer2Agree: z.ZodBoolean; +preparer3FirstName: z.ZodString; +preparer3LastName: z.ZodString; +preparer3Street1: z.ZodString; +preparer3Street2: z.ZodString; +preparer3City: z.ZodString; +preparer3State: z.ZodString; +preparer3Zip: z.ZodString; +preparer3Signature: z.ZodString; +preparer3Agree: z.ZodBoolean; +preparer4FirstName: z.ZodString; +preparer4LastName: z.ZodString; +preparer4Street1: z.ZodString; +preparer4Street2: z.ZodString; +preparer4City: z.ZodString; +preparer4State: z.ZodString; +preparer4Zip: z.ZodString; +preparer4Signature: z.ZodString; +preparer4Agree: z.ZodBoolean; +}>; + +// Warning: (ae-forgotten-export) The symbol "SplitPaymentsFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createSplitPaymentsFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createSplitPaymentsFormSchema(options?: SplitPaymentsFormSchemaOptions): BuildFormSchemaResult< { +splitBy: z.ZodEnum<{ +Percentage: "Percentage"; +Amount: "Amount"; +}>; +splitAmount: z.ZodRecord, z.ZodNullable>>; +priority: z.ZodRecord; +}>; + +// Warning: (ae-missing-release-tag) "createStateFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createStateFields(employeeStateTaxes: EmployeeStateTaxesList[], options: CreateStateFieldsOptions): StateTaxFieldsGroup[]; + +// Warning: (ae-missing-release-tag) "CreateStateFieldsOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CreateStateFieldsOptions { + // (undocumented) + isAdmin: boolean; +} + +// Warning: (ae-forgotten-export) The symbol "WorkAddressSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createWorkAddressSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createWorkAddressSchema(options?: WorkAddressSchemaOptions): BuildFormSchemaResult< { +locationUuid: z.ZodString; +effectiveDate: z.ZodISODate; +}>; + +// Warning: (ae-forgotten-export) The symbol "BaseStateTaxFieldProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CurrencyStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CurrencyStateTaxFieldProps = BaseStateTaxFieldProps & { + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "CustomNameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CustomNameFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "CustomTwicePerMonthFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CustomTwicePerMonthFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DashboardFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const DashboardFlow: (input: DashboardFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "DashboardFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface DashboardFlowProps extends BaseComponentInterface { + // (undocumented) + employeeId: string; +} + +// Warning: (ae-missing-release-tag) "DateOfBirthFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DateOfBirthFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DatePickerHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function DatePickerHookField(input: DatePickerHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "DatePickerHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DatePickerHookFieldProps extends BaseFieldProps, Pick { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + name: string; + portalContainer?: DatePickerProps['portalContainer']; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "DatePickerProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DatePickerProps extends SharedFieldLayoutProps, Pick, 'className' | 'id' | 'name'> { + inputRef?: Ref; + isDateDisabled?: (date: Date) => boolean; + isDisabled?: boolean; + isInvalid?: boolean; + label: string; + maxDate?: Date; + minDate?: Date; + onBlur?: () => void; + onChange?: (value: Date | null) => void; + placeholder?: string; + portalContainer?: HTMLElement; + value?: Date | null; +} + +// Warning: (ae-missing-release-tag) "DateStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DateStateTaxFieldProps = BaseStateTaxFieldProps & { + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "Day1FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Day1FieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "Day2FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Day2FieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DayValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DayValidation = (typeof PayScheduleErrorCodes)['REQUIRED' | 'DAY_RANGE']; + +// Warning: (ae-missing-release-tag) "DeductAsPercentageFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductAsPercentageFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionAmountFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormAmountValidation = DeductionFormRequiredValidation | DeductionFormNegativeAmountValidation; + +// Warning: (ae-missing-release-tag) "CapValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormCapValidation = DeductionFormNegativeAmountValidation; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DeductionFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormData = { + [K in keyof typeof fieldValidators]: z.infer<(typeof fieldValidators)[K]>; +}; + +// Warning: (ae-missing-release-tag) "DeductionFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormErrorCode = (typeof DeductionFormErrorCodes)[keyof typeof DeductionFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "DeductionFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const DeductionFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly NEGATIVE_AMOUNT: "NEGATIVE_AMOUNT"; +}; + +// Warning: (ae-missing-release-tag) "DeductionFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DeductionFormFields { + // Warning: (ae-forgotten-export) The symbol "AmountField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Amount: typeof AmountField; + // Warning: (ae-forgotten-export) The symbol "AnnualMaximumField" needs to be exported by the entry point index.d.ts + AnnualMaximum: typeof AnnualMaximumField | undefined; + // Warning: (ae-forgotten-export) The symbol "DeductAsPercentageField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + DeductAsPercentage: typeof DeductAsPercentageField; + // Warning: (ae-forgotten-export) The symbol "DescriptionField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Description: typeof DescriptionField; + // Warning: (ae-forgotten-export) The symbol "GarnishmentTypeField" needs to be exported by the entry point index.d.ts + GarnishmentType: typeof GarnishmentTypeField | undefined; + // Warning: (ae-forgotten-export) The symbol "RecurringField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Recurring: typeof RecurringField; + // Warning: (ae-forgotten-export) The symbol "TotalAmountField" needs to be exported by the entry point index.d.ts + TotalAmount: typeof TotalAmountField | undefined; +} + +// Warning: (ae-missing-release-tag) "DeductionFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormFieldsMetadata = UseDeductionFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "NegativeAmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormNegativeAmountValidation = typeof DeductionFormErrorCodes.NEGATIVE_AMOUNT; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DeductionFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "DeductionFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormOutputs = DeductionFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormRequiredValidation = typeof DeductionFormErrorCodes.REQUIRED; + +// Warning: (ae-forgotten-export) The symbol "DeductionsProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Deductions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Deductions(input: DeductionsProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "DeductionsFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionsFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DependentsAmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DependentsAmountFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DescriptionFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DescriptionFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DescriptionListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DescriptionListProps { + // (undocumented) + className?: string; + // Warning: (ae-forgotten-export) The symbol "DescriptionListItem" needs to be exported by the entry point index.d.ts + // + // (undocumented) + items: DescriptionListItem[]; + // (undocumented) + layout?: 'stacked' | 'horizontal'; + // (undocumented) + showSeparators?: boolean; +} + +// Warning: (ae-missing-release-tag) "DialogProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DialogProps { + children?: ReactNode; + closeActionLabel: string; + isDestructive?: boolean; + isOpen?: boolean; + isPrimaryActionLoading?: boolean; + onClose?: () => void; + onPrimaryActionClick?: () => void; + primaryActionLabel: string; + shouldCloseOnBackdropClick?: boolean; + title?: ReactNode; +} + +// Warning: (ae-missing-release-tag) "DismissalFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DismissalFlow(input: DismissalFlowProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "FlowContextInterface" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DismissalFlowContextInterface" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface DismissalFlowContextInterface extends FlowContextInterface { + // (undocumented) + companyId: string; + // (undocumented) + employeeId?: string; + // (undocumented) + payrollUuid?: string; +} + +// Warning: (ae-missing-release-tag) "DismissalFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface DismissalFlowProps { + // (undocumented) + companyId: string; + // (undocumented) + employeeId?: string; + // Warning: (ae-forgotten-export) The symbol "OnEventType" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "EventType" needs to be exported by the entry point index.d.ts + // + // (undocumented) + onEvent: OnEventType; + // (undocumented) + payrollId?: string; +} + +// Warning: (ae-forgotten-export) The symbol "DocumentListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DocumentList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DocumentList(props: DocumentListProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "DocumentManagerProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DocumentManager" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DocumentManager(props: DocumentManagerProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "DocumentSignerProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DocumentSigner" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DocumentSigner(props: DocumentSignerProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "DocumentSignerProps_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DocumentSigner" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DocumentSigner_2(props: DocumentSignerProps_2): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EffectiveDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EffectiveDateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "EmailFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmailFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "EmailValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmailValidation = (typeof EmployeeDetailsErrorCodes)['REQUIRED' | 'INVALID_EMAIL' | 'EMAIL_REQUIRED_FOR_SELF_ONBOARDING']; + +declare namespace Employee { + export { + EmployeeList, + Deductions, + OnboardingSummary, + Profile, + Compensation_2 as Compensation, + FederalTaxes_2 as FederalTaxes, + FederalTaxesProps_2 as FederalTaxesProps, + StateTaxes_2 as StateTaxes, + PaymentMethod_2 as PaymentMethod, + Landing, + DocumentSigner_2 as DocumentSigner, + OnboardingFlow_3 as OnboardingFlow, + SelfOnboardingFlow, + EmployeeDocuments, + DashboardFlow, + DashboardFlowProps, + EmployeeListFlow, + EmployeeListFlowProps, + HomeAddress, + HomeAddressProps, + EmploymentEligibility, + EmploymentEligibilityProps, + TerminateEmployee, + TerminateEmployeeProps, + TerminationSummary, + TerminationSummaryProps, + TerminationFlow, + TerminationFlowProps, + PayrollOption, + WorkAddress, + WorkAddressProps, + Taxes + } +} + +// Warning: (ae-missing-release-tag) "EmployeeDetailsErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsErrorCode = (typeof EmployeeDetailsErrorCodes)[keyof typeof EmployeeDetailsErrorCodes]; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const EmployeeDetailsErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly INVALID_NAME: "INVALID_NAME"; + readonly INVALID_EMAIL: "INVALID_EMAIL"; + readonly INVALID_SSN: "INVALID_SSN"; + readonly EMAIL_REQUIRED_FOR_SELF_ONBOARDING: "EMAIL_REQUIRED_FOR_SELF_ONBOARDING"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_5" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeDetailsField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsField = Exclude; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsFieldsMetadata = UseEmployeeDetailsFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsFormData = { + [K in keyof typeof fieldValidators_5]: z.infer<(typeof fieldValidators_5)[K]>; +}; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsFormFields = UseEmployeeDetailsFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsFormOutputs = EmployeeDetailsFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_4" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeDetailsOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsRequiredValidation = typeof EmployeeDetailsErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsSubmitCallbacks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeDetailsSubmitCallbacks { + // (undocumented) + onEmployeeCreated?: (employee: Employee_2) => void; + // (undocumented) + onEmployeeUpdated?: (employee: Employee_2) => void; + // (undocumented) + onOnboardingStatusUpdated?: (status: unknown) => void; +} + +// Warning: (ae-forgotten-export) The symbol "EmployeeDocumentsProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeDocuments" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function EmployeeDocuments(props: EmployeeDocumentsProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "EmployeeListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function EmployeeList(input: EmployeeListProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EmployeeListFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const EmployeeListFlow: (input: EmployeeListFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EmployeeListFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface EmployeeListFlowProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +declare namespace EmployeeManagement { + export { + ManagementEmployeeList as EmployeeList, + EmployeeListFlow, + EmployeeListFlowProps, + EmployeeDocuments, + DocumentManager, + DashboardFlow, + WorkAddress, + WorkAddressProps, + FederalTaxes_2 as FederalTaxes, + FederalTaxesProps_2 as FederalTaxesProps, + StateTaxes_2 as StateTaxes, + StateTaxesProps_2 as StateTaxesProps, + Profile_2 as Profile, + ProfileProps_2 as ProfileProps, + PaymentMethod_3 as PaymentMethod, + PaymentMethodProps_3 as PaymentMethodProps, + TerminateEmployee, + TerminationSummary, + TerminationFlow + } +} + +declare namespace EmployeeOnboarding { + export { + OnboardingFlow_3 as OnboardingFlow, + SelfOnboardingFlow, + EmployeeList, + OnboardingSummary, + Landing, + DocumentSigner_2 as DocumentSigner, + EmploymentEligibility, + Profile, + Compensation_2 as Compensation, + FederalTaxes_3 as FederalTaxes, + FederalTaxesProps_3 as FederalTaxesProps, + StateTaxes_3 as StateTaxes, + StateTaxesProps_3 as StateTaxesProps, + Deductions, + PaymentMethod_2 as PaymentMethod, + PaymentMethodProps_2 as PaymentMethodProps, + Taxes + } +} + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeStateTaxesErrorCode = (typeof EmployeeStateTaxesErrorCodes)[keyof typeof EmployeeStateTaxesErrorCodes]; + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const EmployeeStateTaxesErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeStateTaxesFieldsMetadata = UseEmployeeStateTaxesFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeStateTaxesFormData { + // (undocumented) + states: Record>; +} + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeStateTaxesFormFields = UseEmployeeStateTaxesFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeStateTaxesFormOutputs = EmployeeStateTaxesFormData; + +// Warning: (ae-forgotten-export) The symbol "FieldsMetadataConfig" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesMetadataConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeStateTaxesMetadataConfig extends FieldsMetadataConfig> { + groups: Array<{ + state: string; + isWorkState: boolean; + questions: EmployeeStateTaxesQuestionMeta[]; + }>; +} + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesQuestionMeta" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeStateTaxesQuestionMeta { + // (undocumented) + apiKey: string; + // (undocumented) + formKey: string; + // (undocumented) + isAdminOnly: boolean; + // (undocumented) + isWireSelectWithBooleanOptions: boolean; + // (undocumented) + isWorkState: boolean; + // (undocumented) + state: string; + // (undocumented) + variant: StateTaxQuestionVariant; +} + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesSchemaOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeStateTaxesSchemaOptions { + // (undocumented) + isAdmin?: boolean; +} + +// Warning: (ae-missing-release-tag) "EmploymentEligibility" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function EmploymentEligibility(props: EmploymentEligibilityProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EmploymentEligibilityProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface EmploymentEligibilityProps extends BaseComponentInterface<'Employee.EmploymentEligibility'> { + // (undocumented) + employeeId: string; +} + +// Warning: (ae-missing-release-tag) "ExtraWithholdingFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ExtraWithholdingFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "FederalTaxesProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FederalTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function FederalTaxes(props: FederalTaxesProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "FederalTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function FederalTaxes_2(input: FederalTaxesProps_2 & Pick): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "FederalTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function FederalTaxes_3(input: FederalTaxesProps_3 & Pick): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "FederalTaxesErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesErrorCode = (typeof FederalTaxesErrorCodes)[keyof typeof FederalTaxesErrorCodes]; + +// Warning: (ae-missing-release-tag) "FederalTaxesErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const FederalTaxesErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_11" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FederalTaxesField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesField = keyof typeof fieldValidators_11; + +// Warning: (ae-missing-release-tag) "FederalTaxesFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FederalTaxesFields { + // Warning: (ae-forgotten-export) The symbol "DeductionsField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Deductions: typeof DeductionsField; + // Warning: (ae-forgotten-export) The symbol "DependentsAmountField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + DependentsAmount: typeof DependentsAmountField; + // Warning: (ae-forgotten-export) The symbol "ExtraWithholdingField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + ExtraWithholding: typeof ExtraWithholdingField; + // Warning: (ae-forgotten-export) The symbol "FilingStatusField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + FilingStatus: typeof FilingStatusField; + // Warning: (ae-forgotten-export) The symbol "OtherIncomeField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + OtherIncome: typeof OtherIncomeField; + // Warning: (ae-forgotten-export) The symbol "TwoJobsField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + TwoJobs: typeof TwoJobsField; +} + +// Warning: (ae-missing-release-tag) "FederalTaxesFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesFieldsMetadata = UseFederalTaxesFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "FederalTaxesFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesFormData = { + [K in keyof typeof fieldValidators_11]: z.infer<(typeof fieldValidators_11)[K]>; +}; + +// Warning: (ae-missing-release-tag) "FederalTaxesFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesFormFields = UseFederalTaxesFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "FederalTaxesFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesFormOutputs = FederalTaxesFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_10" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FederalTaxesOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-forgotten-export) The symbol "CommonComponentInterface" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FederalTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface FederalTaxesProps_2 extends CommonComponentInterface<'Employee.FederalTaxes'> { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "FederalTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface FederalTaxesProps_3 extends CommonComponentInterface<'Employee.FederalTaxes'> { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesRequiredValidation = typeof FederalTaxesErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "FieldMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FieldMetadata { + // (undocumented) + hasRedactedValue?: boolean; + // (undocumented) + isDisabled?: boolean; + // (undocumented) + isRequired?: boolean; + maxDate?: string | null; + minDate?: string | null; + // (undocumented) + name: string; +} + +// Warning: (ae-missing-release-tag) "FieldMetadataWithOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FieldMetadataWithOptions extends FieldMetadata { + // (undocumented) + entries?: readonly TEntry[]; + // (undocumented) + options: Array<{ + label: string; + value: string; + }>; +} + +// Warning: (ae-missing-release-tag) "FieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FieldsMetadata = { + [key: string]: FieldMetadata | FieldMetadataWithOptions; +}; + +// Warning: (ae-missing-release-tag) "FileInputProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FileInputProps extends Omit { + 'aria-describedby'?: string; + accept?: string[]; + className?: string; + id?: string; + isDisabled?: boolean; + isInvalid?: boolean; + onBlur?: () => void; + onChange: (file: File | null) => void; + value: File | null; +} + +// Warning: (ae-missing-release-tag) "FILING_STATUS_VALUES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const FILING_STATUS_VALUES: readonly ["Single", "Married", "Head of Household", "Exempt from withholding"]; + +// Warning: (ae-missing-release-tag) "FilingStatusFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FilingStatusFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "FilingStatusValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FilingStatusValue = (typeof FILING_STATUS_VALUES)[number]; + +// Warning: (ae-missing-release-tag) "FipsCodeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FipsCodeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "FirstNameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FirstNameFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "FlsaStatusFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FlsaStatusFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "FormFieldsMetadataContextValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FormFieldsMetadataContextValue { + // (undocumented) + errors: SDKError[]; + // (undocumented) + metadata: FieldsMetadata; +} + +// Warning: (ae-forgotten-export) The symbol "FormFieldsMetadataProviderProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FormFieldsMetadataProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function FormFieldsMetadataProvider(input: FormFieldsMetadataProviderProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "FormHookResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@gusto/embedded-react-sdk" does not have an export "useHookFieldResolution" +// +// @public +export type FormHookResult = { + errorHandling: Pick; + form: Pick & { + hookFormInternals: { + formMethods: { + control: unknown; + }; + _fieldElementRegistry?: FieldElementRegistry; + }; + }; +}; + +// Warning: (ae-missing-release-tag) "FrequencyFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FrequencyFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "GarnishmentTypeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type GarnishmentTypeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "getQuestionVariant" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getQuestionVariant(question: EmployeeStateTaxQuestion): StateTaxQuestionVariant; + +// Warning: (ae-missing-release-tag) "getRequiredAttrKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getRequiredAttrKeys(agency?: Agencies | null): Set; + +// Warning: (ae-missing-release-tag) "GustoApiProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface GustoApiProps extends Omit { + // (undocumented) + children?: default_2.ReactNode; + // (undocumented) + components?: Partial; + // (undocumented) + queryClient?: QueryClient; +} + +// Warning: (ae-missing-release-tag) "GustoApiProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated (undocumented) +export const GustoApiProvider: default_2.FC; + +// Warning: (ae-missing-release-tag) "GustoProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const GustoProvider: default_2.FC; + +// Warning: (ae-missing-release-tag) "GustoProviderCustomUIAdapter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const GustoProviderCustomUIAdapter: default_2.FC; + +// Warning: (ae-missing-release-tag) "GustoProviderCustomUIAdapterProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface GustoProviderCustomUIAdapterProps extends GustoProviderProps { + // (undocumented) + children?: default_2.ReactNode; +} + +// Warning: (ae-missing-release-tag) "GustoProviderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface GustoProviderProps { + // (undocumented) + components: ComponentsContextType; + // (undocumented) + config: APIConfig; + // (undocumented) + currency?: string; + // Warning: (ae-forgotten-export) The symbol "ResourceDictionary" needs to be exported by the entry point index.d.ts + // + // (undocumented) + dictionary?: ResourceDictionary; + // (undocumented) + lng?: string; + // Warning: (ae-forgotten-export) The symbol "LoadingIndicatorContextProps" needs to be exported by the entry point index.d.ts + // + // (undocumented) + LoaderComponent?: LoadingIndicatorContextProps['LoadingIndicator']; + // (undocumented) + locale?: string; + // (undocumented) + portalContainer?: HTMLElement; + // (undocumented) + queryClient?: QueryClient; + // Warning: (ae-forgotten-export) The symbol "GustoSDKTheme" needs to be exported by the entry point index.d.ts + // + // (undocumented) + theme?: GustoSDKTheme; +} + +// Warning: (ae-missing-release-tag) "HeadingProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface HeadingProps extends Pick, 'className' | 'id'> { + as: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; + children?: ReactNode; + styledAs?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; + textAlign?: 'start' | 'center' | 'end'; +} + +// Warning: (ae-missing-release-tag) "HireDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HireDateFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "EmployeeTableItem" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "HolidayPolicyDetailEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface HolidayPolicyDetailEmployee extends EmployeeTableItem { + // (undocumented) + uuid: string; +} + +// Warning: (ae-missing-release-tag) "HolidayPolicyDetailPresentationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface HolidayPolicyDetailPresentationProps { + // (undocumented) + actions?: ReactNode[]; + // (undocumented) + backLabel: string; + // Warning: (ae-forgotten-export) The symbol "EmployeeTableProps" needs to be exported by the entry point index.d.ts + // + // (undocumented) + employees: Pick, 'data' | 'searchValue' | 'onSearchChange' | 'onSearchClear' | 'searchPlaceholder' | 'itemMenu' | 'pagination' | 'isFetching' | 'emptyState'>; + // Warning: (ae-forgotten-export) The symbol "HolidayItem" needs to be exported by the entry point index.d.ts + // + // (undocumented) + holidays: HolidayItem[]; + // (undocumented) + onAddEmployee?: () => void; + // (undocumented) + onBack: () => void; + // (undocumented) + onDismissAlert?: () => void; + // (undocumented) + onTabChange: (id: string) => void; + // Warning: (ae-forgotten-export) The symbol "RemoveDialogState" needs to be exported by the entry point index.d.ts + // + // (undocumented) + removeDialog: RemoveDialogState; + // (undocumented) + selectedTabId: string; + // (undocumented) + subtitle?: string; + // (undocumented) + successAlert?: string; + // (undocumented) + title: string; +} + +// Warning: (ae-missing-release-tag) "HolidaySelectionForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function HolidaySelectionForm(props: HolidaySelectionFormProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "HolidaySelectionFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface HolidaySelectionFormProps extends BaseComponentInterface { + // (undocumented) + companyId: string; + // (undocumented) + mode?: 'create' | 'edit'; +} + +// Warning: (ae-missing-release-tag) "HomeAddress" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function HomeAddress(input: HomeAddressProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EffectiveDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressEffectiveDateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "HomeAddressErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressErrorCode = (typeof HomeAddressErrorCodes)[keyof typeof HomeAddressErrorCodes]; + +// Warning: (ae-missing-release-tag) "HomeAddressErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const HomeAddressErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly INVALID_ZIP: "INVALID_ZIP"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_7" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "HomeAddressField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressField = keyof typeof fieldValidators_7; + +// Warning: (ae-missing-release-tag) "HomeAddressFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressFieldsMetadata = UseHomeAddressFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "HomeAddressFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressFormData = { + [K in keyof typeof fieldValidators_7]: z.infer<(typeof fieldValidators_7)[K]>; +}; + +// Warning: (ae-missing-release-tag) "HomeAddressFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressFormFields = UseHomeAddressFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "HomeAddressFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressFormOutputs = HomeAddressFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_6" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "HomeAddressOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "HomeAddressProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface HomeAddressProps extends CommonComponentInterface<'Employee.HomeAddress.Management'> { + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressRequiredValidation = typeof HomeAddressErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "HomeAddressSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface HomeAddressSubmitOptions { + effectiveDate?: string; + // (undocumented) + employeeId?: string; +} + +// Warning: (ae-missing-release-tag) "HookErrorHandling" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface HookErrorHandling { + // (undocumented) + clearSubmitError: () => void; + // (undocumented) + errors: SDKError[]; + // (undocumented) + retryQueries: () => void; +} + +// Warning: (ae-missing-release-tag) "HookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type HookFieldProps = Omit; + +// Warning: (ae-missing-release-tag) "HookFormInternals" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface HookFormInternals { + _fieldElementRegistry?: FieldElementRegistry; + // (undocumented) + formMethods: UseFormReturn; +} + +// Warning: (ae-missing-release-tag) "HookLoadingResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface HookLoadingResult { + // (undocumented) + errorHandling: HookErrorHandling; + // (undocumented) + isLoading: true; +} + +// Warning: (ae-missing-release-tag) "HookSubmitResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface HookSubmitResult { + // (undocumented) + data: T; + // (undocumented) + mode: 'create' | 'update'; +} + +// Warning: (ae-forgotten-export) The symbol "IndustryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Industry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Industry(props: IndustryProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "InformationRequestFormProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "InformationRequestForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "InformationRequestForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function InformationRequestForm(props: InformationRequestFormProps): JSX_2.Element; + +// @public (undocumented) +namespace InformationRequestForm { + var // (undocumented) + Footer: (input: { + onEvent: OnEventType; + }) => JSX_2.Element; +} + +// Warning: (ae-forgotten-export) The symbol "InformationRequestListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "InformationRequestList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function InformationRequestList(props: InformationRequestListProps): JSX_2.Element; + +declare namespace InformationRequests { + export { + InformationRequestsFlow, + InformationRequestList, + InformationRequestForm + } +} + +// Warning: (ae-forgotten-export) The symbol "InformationRequestsFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "InformationRequestsFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function InformationRequestsFlow(input: InformationRequestsFlowProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "InviteSignatoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "InviteSignatory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function InviteSignatory(props: InviteSignatoryProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "JobErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobErrorCode = (typeof JobErrorCodes)[keyof typeof JobErrorCodes]; + +// Warning: (ae-missing-release-tag) "JobErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const JobErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "JobFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobFieldsMetadata = UseJobFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_4" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "JobFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobFormData = { + [K in keyof typeof fieldValidators_4]: z.infer<(typeof fieldValidators_4)[K]>; +}; + +// Warning: (ae-missing-release-tag) "JobFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface JobFormFields { + // Warning: (ae-forgotten-export) The symbol "HireDateField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + HireDate: typeof HireDateField | undefined; + // Warning: (ae-forgotten-export) The symbol "StateWcClassCodeField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + StateWcClassCode: typeof StateWcClassCodeField | undefined; + // Warning: (ae-forgotten-export) The symbol "StateWcCoveredField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + StateWcCovered: typeof StateWcCoveredField | undefined; + // Warning: (ae-forgotten-export) The symbol "JobTitleField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Title: typeof JobTitleField | undefined; + // Warning: (ae-forgotten-export) The symbol "TwoPercentShareholderField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + TwoPercentShareholder: typeof TwoPercentShareholderField | undefined; +} + +// Warning: (ae-missing-release-tag) "JobFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobFormOutputs = JobFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_3" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "JobOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "JobRequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobRequiredValidation = typeof JobErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "JobSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface JobSubmitOptions { + employeeId?: string; + hireDate?: string; +} + +// Warning: (ae-missing-release-tag) "JobTitleFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobTitleFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "SummaryProps_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Landing" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Landing(props: SummaryProps_2 & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "LastNameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type LastNameFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "LinkProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type LinkProps = Pick, +/** +* URL that the link points to +*/ +'href' +/** +* Specifies where to open the linked document +*/ +| 'target' +/** +* Specifies the relationship between the current document and the linked document +*/ +| 'rel' +/** +* Indicates that the link is for downloading a resource +*/ +| 'download' +/** +* Additional CSS class name +*/ +| 'className' +/** +* Unique identifier for the link +*/ +| 'id' +/** +* Handler for key down events +*/ +| 'onKeyDown' +/** +* Handler for key up events +*/ +| 'onKeyUp' +/** +* Accessible label for the link +*/ +| 'aria-label' +/** +* ID of an element that labels this link +*/ +| 'aria-labelledby' +/** +* ID of an element that describes this link +*/ +| 'aria-describedby' +/** +* Title text shown on hover +*/ +| 'title'> & { + children?: ReactNode; +}; + +// Warning: (ae-missing-release-tag) "LoadingSpinnerProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface LoadingSpinnerProps extends Pick, 'className' | 'id' | 'aria-label'> { + size?: 'lg' | 'sm'; + style?: 'inline' | 'block'; +} + +// Warning: (ae-missing-release-tag) "LocationFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type LocationFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "LocationFormProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "LocationForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function LocationForm(input: LocationFormProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "LocationsProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Locations" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Locations(input: LocationsProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "ManagementEmployeeListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ManagementEmployeeList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ManagementEmployeeList(input: ManagementEmployeeListProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "MAX_PREPARERS" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const MAX_PREPARERS = 4; + +// Warning: (ae-forgotten-export) The symbol "DataAttributes" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "MenuItem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MenuItem extends DataAttributes { + href?: string; + icon?: ReactNode; + isDisabled?: boolean; + label: string; + onClick: () => void; +} + +// Warning: (ae-missing-release-tag) "MenuProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MenuProps extends DataAttributes { + 'aria-label': string; + isOpen?: boolean; + items?: MenuItem[]; + onClose?: () => void; + placement?: 'top' | 'top start' | 'top end' | 'bottom' | 'bottom start' | 'bottom end' | 'left' | 'right'; + portalContainer?: HTMLElement; + triggerRef?: RefObject; +} + +// Warning: (ae-missing-release-tag) "MiddleInitialFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MiddleInitialFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "MinimumWageIdFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MinimumWageIdFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "QueryWithRefetch" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "MixedErrorSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MixedErrorSource = QueryWithRefetch | { + errorHandling: HookErrorHandling; +}; + +// Warning: (ae-missing-release-tag) "ModalProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ModalProps { + children?: ReactNode; + containerRef?: React.RefObject; + footer?: ReactNode; + isOpen?: boolean; + onClose?: () => void; + shouldCloseOnBackdropClick?: boolean; +} + +// Warning: (ae-missing-release-tag) "NameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NameFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "NameValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NameValidation = (typeof EmployeeDetailsErrorCodes)['REQUIRED' | 'INVALID_NAME']; + +// Warning: (ae-forgotten-export) The symbol "NewHireReportProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "NewHireReport" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function NewHireReport(props: NewHireReportProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "normalizeToSDKError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function normalizeToSDKError(error: unknown): SDKError; + +// Warning: (ae-missing-release-tag) "NumberInputHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function NumberInputHookField(input: NumberInputHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "NumberInputHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NumberInputHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + format?: NumberInputProps['format']; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + max?: NumberInputProps['max']; + // (undocumented) + min?: NumberInputProps['min']; + // (undocumented) + name: string; + // (undocumented) + placeholder?: NumberInputProps['placeholder']; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "NumberInputProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NumberInputProps extends SharedFieldLayoutProps, Pick, 'min' | 'max' | 'name' | 'id' | 'placeholder' | 'className'> { + adornmentEnd?: InputProps['adornmentEnd']; + // Warning: (ae-forgotten-export) The symbol "InputProps" needs to be exported by the entry point index.d.ts + adornmentStart?: InputProps['adornmentStart']; + format?: 'currency' | 'decimal' | 'percent'; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + maximumFractionDigits?: number; + minimumFractionDigits?: number; + onBlur?: () => void; + onChange?: (value: number) => void; + value?: number; +} + +// Warning: (ae-missing-release-tag) "NumberStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NumberStateTaxFieldProps = BaseStateTaxFieldProps & { + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "ObservabilityError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ObservabilityError extends SDKError { + componentName?: string; + componentStack?: string; + timestamp: number; +} + +// Warning: (ae-missing-release-tag) "ObservabilityHook" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ObservabilityHook { + onError?: (error: ObservabilityError) => void; + onMetric?: (metric: ObservabilityMetric) => void; + sanitization?: SanitizationConfig; +} + +// Warning: (ae-missing-release-tag) "ObservabilityMetric" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ObservabilityMetric { + name: string; + tags?: Record; + timestamp: number; + unit?: ObservabilityMetricUnit; + value: number; +} + +// Warning: (ae-missing-release-tag) "ObservabilityMetricUnit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ObservabilityMetricUnit = 'ms' | 'count' | 'bytes' | 'percent'; + +// Warning: (ae-missing-release-tag) "ObservabilityProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ObservabilityProvider: (input: ObservabilityProviderProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ObservabilityProviderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ObservabilityProviderProps { + // (undocumented) + children: ReactNode; + // (undocumented) + observability?: ObservabilityHook; +} + +// Warning: (ae-missing-release-tag) "OffCycleCreation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OffCycleCreation(props: OffCycleCreationProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "OffCycleCreationFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleCreationFormData extends OffCyclePayPeriodDateFormData { + // (undocumented) + includeAllEmployees: boolean; + // (undocumented) + reason: OffCycleReason; + // (undocumented) + selectedEmployeeUuids: string[]; + // (undocumented) + skipRegularDeductions: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCycleCreationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleCreationProps extends BaseComponentInterface<'Payroll.OffCycleCreation'> { + // (undocumented) + companyId: string; + // (undocumented) + payrollType?: OffCyclePayrollDateType; +} + +// Warning: (ae-missing-release-tag) "OffCycleDeductionsSetting" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OffCycleDeductionsSetting(input: OffCycleDeductionsSettingProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "OffCycleDeductionsSettingChangePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleDeductionsSettingChangePayload { + // (undocumented) + skipRegularDeductions: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCycleDeductionsSettingProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleDeductionsSettingProps extends CommonComponentInterface<'Payroll.OffCycleDeductionsSetting'> { + // (undocumented) + onEvent: OnEventType; + // (undocumented) + skipRegularDeductions: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCycleFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OffCycleFlow(input: OffCycleFlowProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "OffCycleFlowContextInterface" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleFlowContextInterface extends FlowContextInterface { + // (undocumented) + companyId: string; + // (undocumented) + payrollType?: OffCycleReason; + // (undocumented) + payrollUuid?: string; + // (undocumented) + withReimbursements?: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCycleFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleFlowProps { + // (undocumented) + companyId: string; + // (undocumented) + onEvent: OnEventType; + // (undocumented) + payrollType?: OffCycleReason; + // (undocumented) + withReimbursements?: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCyclePayPeriodDateFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCyclePayPeriodDateFormData { + // (undocumented) + checkDate: Date | null; + // (undocumented) + endDate: Date | null; + // (undocumented) + isCheckOnly: boolean; + // (undocumented) + startDate: Date | null; +} + +// Warning: (ae-missing-release-tag) "OffCyclePayrollDateType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type OffCyclePayrollDateType = 'bonus' | 'correction'; + +// Warning: (ae-missing-release-tag) "OffCycleReason" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type OffCycleReason = 'bonus' | 'correction'; + +// Warning: (ae-missing-release-tag) "OffCycleReasonDefaults" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleReasonDefaults { + // (undocumented) + skipDeductions: boolean; + // Warning: (ae-forgotten-export) The symbol "WithholdingType" needs to be exported by the entry point index.d.ts + // + // (undocumented) + withholdingType: WithholdingType; +} + +// Warning: (ae-missing-release-tag) "OffCycleReasonSelection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OffCycleReasonSelection(props: OffCycleReasonSelectionProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "OffCycleReasonSelectionProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleReasonSelectionProps extends BaseComponentInterface<'Payroll.OffCycleReasonSelection'> { + // (undocumented) + companyId: string; +} + +// Warning: (ae-forgotten-export) The symbol "OnboardingFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const OnboardingFlow: (input: OnboardingFlowProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "OnboardingFlowProps_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const OnboardingFlow_2: (input: OnboardingFlowProps_2) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "OnboardingFlowProps_3" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const OnboardingFlow_3: (input: OnboardingFlowProps_3) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "OnboardingOverviewProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingOverview" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OnboardingOverview(props: OnboardingOverviewProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "SummaryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingSummary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OnboardingSummary(props: SummaryProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "BaseListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OrderedListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type OrderedListProps = BaseListProps; + +// Warning: (ae-missing-release-tag) "OrderNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type OrderNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "OtherIncomeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type OtherIncomeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "PaginationControlProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaginationControlProps = { + handleFirstPage: () => void; + handlePreviousPage: () => void; + handleNextPage: () => void; + handleLastPage: () => void; + handleItemsPerPageChange: (n: PaginationItemsPerPage) => void; + currentPage: number; + totalPages: number; + totalCount?: number; + itemsPerPage?: PaginationItemsPerPage; + isFetching?: boolean; +}; + +// Warning: (ae-missing-release-tag) "PaginationItemsPerPage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaginationItemsPerPage = 5 | 10 | 25 | 50; + +// Warning: (ae-missing-release-tag) "PAYMENT_METHOD_TYPES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const PAYMENT_METHOD_TYPES: readonly ["Direct Deposit", "Check"]; + +// Warning: (ae-forgotten-export) The symbol "PaymentFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const PaymentFlow: (input: PaymentFlowProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentHistoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentHistory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentHistory(props: PaymentHistoryProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentMethodProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentMethod" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentMethod(props: PaymentMethodProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PaymentMethod" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentMethod_2(input: PaymentMethodProps_2 & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PaymentMethod" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentMethod_3(input: PaymentMethodProps_3 & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_9" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentMethodFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormData = { + [K in keyof typeof fieldValidators_9]: z.infer<(typeof fieldValidators_9)[K]>; +}; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormErrorCode = (typeof PaymentMethodFormErrorCodes)[keyof typeof PaymentMethodFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const PaymentMethodFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormField = keyof typeof fieldValidators_9; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface PaymentMethodFormFields { + // Warning: (ae-forgotten-export) The symbol "TypeField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Type: typeof TypeField; +} + +// Warning: (ae-missing-release-tag) "PaymentMethodFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormFieldsMetadata = UsePaymentMethodFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_8" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentMethodFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormOutputs = PaymentMethodFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormRequiredValidation = typeof PaymentMethodFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "PaymentMethodProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PaymentMethodProps_2 extends CommonComponentInterface<'Employee.PaymentMethod'> { + // (undocumented) + defaultValues?: never; + // (undocumented) + employeeId: string; + // (undocumented) + isAdmin?: boolean; + // (undocumented) + onEvent: OnEventType; +} + +// Warning: (ae-missing-release-tag) "PaymentMethodProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PaymentMethodProps_3 extends CommonComponentInterface<'Employee.PaymentMethod'> { + // (undocumented) + defaultValues?: never; + // (undocumented) + employeeId: string; + // (undocumented) + initialState?: 'list' | 'add' | 'split'; + // (undocumented) + isAdmin?: boolean; + // (undocumented) + onEvent: OnEventType; +} + +// Warning: (ae-missing-release-tag) "PaymentMethodType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodType = (typeof PAYMENT_METHOD_TYPES)[number]; + +// Warning: (ae-missing-release-tag) "PaymentPeriodFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentPeriodFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "PaymentsListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentsList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentsList(props: PaymentsListProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentStatementProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentStatement" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentStatement(props: PaymentStatementProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentSummaryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentSummary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const PaymentSummary: (input: PaymentSummaryProps) => JSX_2.Element | null; + +// Warning: (ae-missing-release-tag) "PaymentUnitFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentUnitFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "PayPeriodMaximumFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayPeriodMaximumFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "PayPeriodMaximumValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayPeriodMaximumValidation = ChildSupportGarnishmentRequiredValidation | ChildSupportGarnishmentNegativeAmountValidation; + +declare namespace Payroll { + export { + PayrollConfiguration, + PayrollEditEmployee, + PayrollHistory, + PayrollLanding, + PayrollList, + OffCycleReasonSelection, + OffCycleReason, + OffCycleReasonDefaults, + OffCycleReasonSelectionProps, + SelectReasonPayload, + OffCycleDeductionsSetting, + OffCycleDeductionsSettingProps, + OffCycleDeductionsSettingChangePayload, + PayrollOverview, + PayrollFlow, + PayrollExecutionFlow, + PayrollExecutionFlowProps, + PayrollExecutionInitialState, + PayrollReceipts, + ConfirmWireDetails, + ConfirmWireDetailsProps, + ConfirmWireDetailsComponentType, + PayrollBlockerList, + ApiPayrollBlocker, + RecoveryCases, + OffCyclePayPeriodDateFormData, + OffCyclePayrollDateType, + OffCycleCreation, + OffCycleCreationProps, + OffCycleCreationFormData, + OffCycleFlow, + OffCycleFlowContextInterface, + OffCycleFlowProps, + DismissalFlow, + DismissalFlowProps, + DismissalFlowContextInterface, + TransitionFlow, + TransitionFlowContextInterface, + TransitionFlowProps, + TransitionCreation, + TransitionCreationProps, + TransitionCreationFormData + } +} + +// Warning: (ae-forgotten-export) The symbol "PayrollBlockerListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollBlockerList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +function PayrollBlockerList(props: PayrollBlockerListProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollConfigurationProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollConfiguration" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollConfiguration(props: PayrollConfigurationProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollEditEmployeeProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollEditEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollEditEmployee(props: PayrollEditEmployeeProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PayrollExecutionFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollExecutionFlow(input: PayrollExecutionFlowProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PayrollExecutionFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PayrollExecutionFlowProps { + // (undocumented) + companyId: string; + // (undocumented) + ConfirmWireDetailsComponent?: ConfirmWireDetailsComponentType; + // (undocumented) + initialPayPeriod?: PayrollPayPeriodType; + // (undocumented) + initialState?: PayrollExecutionInitialState; + // (undocumented) + isDismissalPayroll?: boolean; + // (undocumented) + onEvent: OnEventType; + // (undocumented) + payrollId: string; + // Warning: (ae-forgotten-export) The symbol "FlowBreadcrumb" needs to be exported by the entry point index.d.ts + // + // (undocumented) + prefixBreadcrumbs?: FlowBreadcrumb[]; + // (undocumented) + withReimbursements?: boolean; +} + +// Warning: (ae-missing-release-tag) "PayrollExecutionInitialState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type PayrollExecutionInitialState = 'configuration' | 'overview'; + +// Warning: (ae-forgotten-export) The symbol "PayrollFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const PayrollFlow: (input: PayrollFlowProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollHistoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollHistory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollHistory(props: PayrollHistoryProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollLandingProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollLanding" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollLanding(props: PayrollLandingProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollListBlockProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollList(props: PayrollListBlockProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PayrollLoadingProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface PayrollLoadingProps { + // (undocumented) + description?: ReactNode; + // (undocumented) + title: ReactNode; +} + +// Warning: (ae-missing-release-tag) "PayrollOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type PayrollOption = 'dismissalPayroll' | 'regularPayroll' | 'anotherWay'; + +// Warning: (ae-forgotten-export) The symbol "PayrollOverviewProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollOverview" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollOverview(props: PayrollOverviewProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollReceiptsProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollReceipts" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollReceipts(props: PayrollReceiptsProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayScheduleProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaySchedule" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const PaySchedule: (input: PayScheduleProps & BaseComponentInterface) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PayScheduleErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleErrorCode = (typeof PayScheduleErrorCodes)[keyof typeof PayScheduleErrorCodes]; + +// Warning: (ae-missing-release-tag) "PayScheduleErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const PayScheduleErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly DAY_RANGE: "DAY_RANGE"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_13" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayScheduleField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleField = keyof typeof fieldValidators_13; + +// Warning: (ae-missing-release-tag) "PayScheduleFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFieldsMetadata = UsePayScheduleFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "PayScheduleFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFormData = { + [K in keyof typeof fieldValidators_13]: z.infer<(typeof fieldValidators_13)[K]>; +}; + +// Warning: (ae-missing-release-tag) "PayScheduleFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFormFields = UsePayScheduleFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "PayScheduleFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFormOutputs = PayScheduleFormData; + +// Warning: (ae-forgotten-export) The symbol "FREQUENCY_VALUES" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayScheduleFrequency" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFrequency = (typeof FREQUENCY_VALUES)[number]; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_11" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayScheduleOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleRequiredValidation = typeof PayScheduleErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "PolicyConfigurationForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PolicyConfigurationForm(props: PolicyConfigurationFormProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PolicyConfigurationFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicyConfigurationFormProps extends BaseComponentInterface<'Company.TimeOff.CreateTimeOffPolicy'> { + // (undocumented) + companyId: string; + // Warning: (ae-forgotten-export) The symbol "PolicyConfigurationFormData" needs to be exported by the entry point index.d.ts + // + // (undocumented) + defaultValues?: Partial; + // (undocumented) + policyId?: string; + // (undocumented) + policyType: 'sick' | 'vacation'; +} + +// Warning: (ae-forgotten-export) The symbol "UnlimitedPolicyDetails" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "RateBasedPolicyDetails" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PolicyDetails" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type PolicyDetails = UnlimitedPolicyDetails | RateBasedPolicyDetails; + +// Warning: (ae-missing-release-tag) "PolicyList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PolicyList(input: PolicyListProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PolicyListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicyListProps extends BaseComponentInterface<'Company.TimeOff.TimeOffPolicies'> { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "PolicySettingsDisplay" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicySettingsDisplay { + // (undocumented) + accrualWaitingPeriodDays: number | null; + // (undocumented) + carryoverLimitHours: number | null; + // (undocumented) + maxAccrualHoursPerYear: number | null; + // (undocumented) + maxHours: number | null; + // (undocumented) + paidOutOnTermination: boolean; +} + +// Warning: (ae-missing-release-tag) "PolicySettingsPresentation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PolicySettingsPresentation(input: PolicySettingsPresentationProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PolicySettingsPresentationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicySettingsPresentationProps { + // Warning: (ae-forgotten-export) The symbol "PolicySettingsAccrualMethod" needs to be exported by the entry point index.d.ts + // + // (undocumented) + accrualMethod: PolicySettingsAccrualMethod; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + editingPolicyName?: string; + // (undocumented) + isPending?: boolean; + // (undocumented) + mode?: 'create' | 'edit'; + // (undocumented) + onBack: () => void; + // Warning: (ae-forgotten-export) The symbol "PolicySettingsFormData" needs to be exported by the entry point index.d.ts + // + // (undocumented) + onContinue: (data: PolicySettingsFormData) => void; +} + +// Warning: (ae-missing-release-tag) "PolicyTypeSelector" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PolicyTypeSelector(props: PolicyTypeSelectorProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PolicyTypeSelectorProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicyTypeSelectorProps extends BaseComponentInterface<'Company.TimeOff.SelectPolicyType'> { + // (undocumented) + companyId: string; + // Warning: (ae-forgotten-export) The symbol "PolicyType" needs to be exported by the entry point index.d.ts + // + // (undocumented) + defaultPolicyType?: PolicyType; +} + +// Warning: (ae-missing-release-tag) "PREPARER_FIELDS_BY_INDEX" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const PREPARER_FIELDS_BY_INDEX: SignEmployeeFormField[][]; + +// Warning: (ae-missing-release-tag) "PreparerCheckboxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerCheckboxFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "preparer1Fields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PreparerFieldGroup" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerFieldGroup = typeof preparer1Fields; + +// Warning: (ae-missing-release-tag) "preparerFieldName" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function preparerFieldName(index: PreparerIndex, field: PreparerFieldSuffix): string; + +// Warning: (ae-missing-release-tag) "PreparerFieldSuffix" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerFieldSuffix = 'FirstName' | 'LastName' | 'Street1' | 'Street2' | 'City' | 'State' | 'Zip' | 'Signature' | 'Agree'; + +// Warning: (ae-missing-release-tag) "PreparerIndex" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerIndex = 1 | 2 | 3 | 4; + +// Warning: (ae-missing-release-tag) "PreparerTextFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerTextFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "ProfileProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Profile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Profile(input: ProfileProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "Profile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Profile_2(input: ProfileProps_2 & Pick): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ProfileProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ProfileProps_2 extends CommonComponentInterface<'Employee.Profile'> { + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "ProgressBarProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ProgressBarProps { + className?: string; + cta?: React.ComponentType | null; + currentStep: number; + label: string; + totalSteps: number; +} + +// Warning: (ae-missing-release-tag) "RadioGroupHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function RadioGroupHookField(input: RadioGroupHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "RadioGroupHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RadioGroupHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + getOptionLabel?: (entry: TEntry) => string; + // (undocumented) + name: string; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "RadioGroupOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RadioGroupOption { + description?: React.ReactNode; + isDisabled?: boolean; + label: React.ReactNode; + value: string; +} + +// Warning: (ae-missing-release-tag) "RadioGroupProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RadioGroupProps extends SharedFieldLayoutProps, Pick, 'className'> { + defaultValue?: string; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onChange?: (value: string) => void; + options: Array; + value?: string | null; +} + +// Warning: (ae-missing-release-tag) "RadioProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RadioProps extends SharedHorizontalFieldLayoutProps, Pick, 'name' | 'id' | 'className' | 'onBlur'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onChange?: (checked: boolean) => void; + value?: boolean; +} + +// Warning: (ae-missing-release-tag) "RadioStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RadioStateTaxFieldProps = BaseStateTaxFieldProps & { + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "RateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "RateValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RateValidation = (typeof CompensationErrorCodes)['REQUIRED' | 'RATE_MINIMUM' | 'RATE_EXEMPT_THRESHOLD']; + +// Warning: (ae-forgotten-export) The symbol "RecoveryCasesInternalProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "RecoveryCases" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function RecoveryCases(input: RecoveryCasesInternalProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "RecurringFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RecurringFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "RemittanceNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RemittanceNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "RoutingNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RoutingNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "RoutingNumberValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RoutingNumberValidation = (typeof BankFormErrorCodes)[keyof Pick]; + +// Warning: (ae-missing-release-tag) "SanitizationConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SanitizationConfig { + additionalSensitiveFields?: string[]; + customErrorSanitizer?: (error: ObservabilityError) => ObservabilityError; + customMetricSanitizer?: (metric: ObservabilityMetric) => ObservabilityMetric; + enabled?: boolean; + includeRawError?: boolean; +} + +// Warning: (ae-missing-release-tag) "SDKError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SDKError { + category: SDKErrorCategory; + fieldErrors: SDKFieldError[]; + httpStatus?: number; + message: string; + raw?: unknown; +} + +// Warning: (ae-forgotten-export) The symbol "SDKErrorCategories" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SDKErrorCategory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SDKErrorCategory = (typeof SDKErrorCategories)[keyof typeof SDKErrorCategories]; + +// Warning: (ae-missing-release-tag) "SDKFieldError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SDKFieldError { + category: string; + field: string; + message: string; + metadata?: Record; +} + +// Warning: (ae-forgotten-export) The symbol "SDKFormProviderProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SDKFormProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function SDKFormProvider>(input: SDKFormProviderProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "SDKHooks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SDKHooks { + afterError?: AfterErrorHook[]; + afterSuccess?: AfterSuccessHook[]; + beforeCreateRequest?: BeforeCreateRequestHook[]; + beforeRequest?: BeforeRequestHook[]; +} + +// Warning: (ae-missing-release-tag) "SDKInternalError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class SDKInternalError extends Error { + constructor(message: string, category?: SDKErrorCategory); + // (undocumented) + readonly category: SDKErrorCategory; +} + +// Warning: (ae-missing-release-tag) "SelectHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function SelectHookField(input: SelectHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "SelectHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SelectHookFieldProps extends BaseFieldProps, Pick { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + getOptionLabel?: (entry: TEntry) => string; + // (undocumented) + name: string; + // (undocumented) + placeholder?: string; + portalContainer?: SelectProps['portalContainer']; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "SelectOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SelectOption { + label: string; + value: string; +} + +// Warning: (ae-missing-release-tag) "SelectProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SelectProps extends SharedFieldLayoutProps, Pick, 'id' | 'name' | 'className'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + label: string; + onBlur?: () => void; + onChange?: (value: string) => void; + options: SelectOption[]; + placeholder?: string; + portalContainer?: HTMLElement; + value?: string | null; +} + +// Warning: (ae-missing-release-tag) "SelectReasonPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface SelectReasonPayload { + // (undocumented) + defaults: OffCycleReasonDefaults; + // (undocumented) + reason: OffCycleReason; +} + +// Warning: (ae-missing-release-tag) "SelectStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SelectStateTaxFieldProps = BaseStateTaxFieldProps & { + placeholder?: string; + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "SelfOnboardingFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SelfOnboardingFieldProps = HookFieldProps; + +// Warning: (ae-forgotten-export) The symbol "SelfOnboardingFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SelfOnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const SelfOnboardingFlow: (input: SelfOnboardingFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "SignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignatureFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "SignatureFormProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SignatureForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function SignatureForm(props: SignatureFormProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_14" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SignCompanyFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormData = { + [K in keyof typeof fieldValidators_14]: z.infer<(typeof fieldValidators_14)[K]>; +}; + +// Warning: (ae-missing-release-tag) "SignCompanyFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormErrorCode = (typeof SignCompanyFormErrorCodes)[keyof typeof SignCompanyFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "SignCompanyFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SignCompanyFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "SignCompanyFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormField = keyof typeof fieldValidators_14; + +// Warning: (ae-missing-release-tag) "SignCompanyFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SignCompanyFormFields { + // Warning: (ae-forgotten-export) The symbol "ConfirmSignatureField_2" needs to be exported by the entry point index.d.ts + // + // (undocumented) + ConfirmSignature: typeof ConfirmSignatureField_2; + // Warning: (ae-forgotten-export) The symbol "SignatureField_2" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Signature: typeof SignatureField_2; +} + +// Warning: (ae-missing-release-tag) "SignCompanyFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormFieldsMetadata = UseSignCompanyFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_12" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SignCompanyFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "SignCompanyFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormOutputs = SignCompanyFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormRequiredValidation = typeof SignCompanyFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "ConfirmSignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormConfirmSignatureFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_12" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SignEmployeeFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormData = { + [K in keyof typeof fieldValidators_12]: z.infer<(typeof fieldValidators_12)[K]>; +}; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormErrorCode = (typeof SignEmployeeFormErrorCodes)[keyof typeof SignEmployeeFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SignEmployeeFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormField = keyof typeof fieldValidators_12; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormFieldComponents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SignEmployeeFormFieldComponents { + // Warning: (ae-forgotten-export) The symbol "ConfirmSignatureField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + ConfirmSignature: typeof ConfirmSignatureField; + // (undocumented) + Preparer1: PreparerFieldGroup | undefined; + // (undocumented) + Preparer2: PreparerFieldGroup | undefined; + // (undocumented) + Preparer3: PreparerFieldGroup | undefined; + // (undocumented) + Preparer4: PreparerFieldGroup | undefined; + // Warning: (ae-forgotten-export) The symbol "SignatureField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Signature: typeof SignatureField; + // Warning: (ae-forgotten-export) The symbol "UsedPreparerField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + UsedPreparer: typeof UsedPreparerField | undefined; +} + +// Warning: (ae-missing-release-tag) "SignEmployeeFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormFields = UseSignEmployeeFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormFieldsMetadata = UseSignEmployeeFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormOutputs = SignEmployeeFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormRequiredValidation = typeof SignEmployeeFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "SignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormSignatureFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "SPLIT_BY_VALUES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SPLIT_BY_VALUES: readonly ["Percentage", "Amount"]; + +// Warning: (ae-missing-release-tag) "SplitByFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitByFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "SplitByValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitByValue = (typeof SPLIT_BY_VALUES)[number]; + +// Warning: (ae-missing-release-tag) "SplitFieldEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SplitFieldEntry { + // (undocumented) + Field: ComponentType; + // (undocumented) + hiddenAccountNumber: string | null; + // (undocumented) + name: string | null; + // (undocumented) + uuid: string; +} + +// Warning: (ae-missing-release-tag) "SplitFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SplitFieldProps { + // (undocumented) + description?: ReactNode; + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + label: string; + // (undocumented) + max?: NumberInputProps['max']; + // (undocumented) + min?: NumberInputProps['min']; + // (undocumented) + placeholder?: NumberInputProps['placeholder']; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "SplitFieldValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type SplitFieldValidation = typeof SplitPaymentsFormErrorCodes.REQUIRED | typeof SplitPaymentsFormErrorCodes.INVALID_AMOUNT | typeof SplitPaymentsFormErrorCodes.INVALID_PERCENTAGE; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormData = { + splitBy: SplitByValue; + splitAmount: Record; + priority: Record; +}; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormErrorCode = (typeof SplitPaymentsFormErrorCodes)[keyof typeof SplitPaymentsFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SplitPaymentsFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly INVALID_PERCENTAGE: "INVALID_PERCENTAGE"; + readonly INVALID_AMOUNT: "INVALID_AMOUNT"; + readonly DUPLICATE_PRIORITIES: "DUPLICATE_PRIORITIES"; + readonly PERCENTAGE_TOTAL_MISMATCH: "PERCENTAGE_TOTAL_MISMATCH"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_10" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SplitPaymentsFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormField = keyof typeof fieldValidators_10; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SplitPaymentsFormFields { + // (undocumented) + SplitBy: ComponentType; + // (undocumented) + splits: SplitFieldEntry[]; +} + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormFieldsMetadata = UseSplitPaymentsFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_9" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SplitPaymentsFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormOutputs = SplitPaymentsFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormRequiredValidation = typeof SplitPaymentsFormErrorCodes.REQUIRED; + +// Warning: (ae-forgotten-export) The symbol "SsnRequiredValidation" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SsnFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SsnFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "SsnValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SsnValidation = typeof EmployeeDetailsErrorCodes.INVALID_SSN; + +// Warning: (ae-missing-release-tag) "StateFieldEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateFieldEntry = { + state: string; + name: string; + manualPaymentRequired?: boolean; +}; + +// Warning: (ae-missing-release-tag) "StateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "StateTaxesProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxes(input: StateTaxesProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "StateTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxes_2(input: StateTaxesProps_2 & Pick): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "StateTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxes_3(input: StateTaxesProps_3 & Pick): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "StateTaxesFormProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateTaxesForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxesForm(props: StateTaxesFormProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "StateTaxesListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateTaxesList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxesList(props: StateTaxesListProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "StateTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type StateTaxesProps_2 = Omit, 'children'> & { + employeeId: string; + onEvent: BaseComponentInterface['onEvent']; +}; + +// Warning: (ae-missing-release-tag) "StateTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type StateTaxesProps_3 = Omit, 'children'> & { + employeeId: string; + isAdmin?: boolean; + onEvent: BaseComponentInterface['onEvent']; +}; + +// Warning: (ae-missing-release-tag) "StateTaxFieldsGroup" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface StateTaxFieldsGroup { + // (undocumented) + questions: StateTaxQuestionFieldEntry[]; + // (undocumented) + state: string; +} + +// Warning: (ae-forgotten-export) The symbol "SharedQuestionMetadata" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateTaxQuestionFieldEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateTaxQuestionFieldEntry = ({ + type: 'select'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'radio'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'text'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'number'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'currency'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'date'; + Field: ComponentType; +} & SharedQuestionMetadata); + +// Warning: (ae-missing-release-tag) "StateTaxQuestionVariant" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type StateTaxQuestionVariant = 'select' | 'radio' | 'text' | 'number' | 'currency' | 'date'; + +// Warning: (ae-missing-release-tag) "StateTaxValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateTaxValue = string | number | boolean | Date | null | undefined; + +// Warning: (ae-forgotten-export) The symbol "WARiskClassCode" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateWcClassCodeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateWcClassCodeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "StateWcCoveredFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateWcCoveredFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "Street1FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Street1FieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "Street2FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Street2FieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "SubmitStateForErrorHandling" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type SubmitStateForErrorHandling = { + submitError: SDKError | null; + setSubmitError: (error: SDKError | null) => void; +}; + +// Warning: (ae-missing-release-tag) "SUPPORTED_REQUIRED_ATTR_KEYS" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const SUPPORTED_REQUIRED_ATTR_KEYS: readonly ["case_number", "order_number", "remittance_number"]; + +// Warning: (ae-missing-release-tag) "SupportedRequiredAttrKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SupportedRequiredAttrKey = (typeof SUPPORTED_REQUIRED_ATTR_KEYS)[number]; + +// Warning: (ae-missing-release-tag) "SwitchHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function SwitchHookField(input: SwitchHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "SwitchHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SwitchHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + name: string; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "SwitchProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SwitchProps extends SharedHorizontalFieldLayoutProps, Pick, 'name' | 'id'>, Pick { + className?: string; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + label: string; + onBlur?: () => void; + onChange?: (checked: boolean) => void; + value?: boolean; +} + +// Warning: (ae-missing-release-tag) "TableData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TableData { + content: ReactNode; + key: string; +} + +// Warning: (ae-missing-release-tag) "TableProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TableProps extends Pick, 'className' | 'aria-label' | 'id' | 'role' | 'aria-labelledby' | 'aria-describedby'> { + emptyState?: ReactNode; + footer?: TableData[]; + hasCheckboxColumn?: boolean; + headers: TableData[]; + isWithinBox?: boolean; + rows: TableRow[]; +} + +// Warning: (ae-missing-release-tag) "TableRow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TableRow { + data: TableData[]; + key: string; +} + +// Warning: (ae-missing-release-tag) "TabsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface TabsProps { + 'aria-label'?: string; + 'aria-labelledby'?: string; + className?: string; + onSelectionChange: (id: string) => void; + selectedId?: string; + // Warning: (ae-forgotten-export) The symbol "TabProps" needs to be exported by the entry point index.d.ts + tabs: TabProps[]; +} + +// Warning: (ae-forgotten-export) The symbol "TaxesProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Taxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated (undocumented) +function Taxes(props: TaxesProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TerminateEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TerminateEmployee(props: TerminateEmployeeProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TerminateEmployeeProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TerminateEmployeeProps extends BaseComponentInterface<'Employee.Terminations.TerminateEmployee'> { + // (undocumented) + companyId: string; + // (undocumented) + employeeId: string; +} + +// Warning: (ae-missing-release-tag) "TerminationFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const TerminationFlow: (input: TerminationFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TerminationFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TerminationFlowProps extends BaseComponentInterface { + // (undocumented) + companyId: string; + // (undocumented) + employeeId: string; +} + +// Warning: (ae-missing-release-tag) "TerminationSummary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TerminationSummary(props: TerminationSummaryProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TerminationSummaryProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TerminationSummaryProps extends BaseComponentInterface<'Employee.Terminations.TerminationSummary'> { + // (undocumented) + companyId: string; + // (undocumented) + employeeId: string; + // (undocumented) + payrollOption?: PayrollOption; + // (undocumented) + payrollUuid?: string; +} + +// Warning: (ae-missing-release-tag) "TextAreaProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TextAreaProps extends SharedFieldLayoutProps, Pick, 'name' | 'id' | 'placeholder' | 'className' | 'rows' | 'cols'>, Pick, 'aria-describedby'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onBlur?: () => void; + onChange?: (value: string) => void; + value?: string; +} + +// Warning: (ae-missing-release-tag) "TextInputHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function TextInputHookField(input: TextInputHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "TextInputHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TextInputHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + name: string; + // (undocumented) + placeholder?: string; + // (undocumented) + transform?: (value: string) => string; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "TextInputProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TextInputProps extends SharedFieldLayoutProps, Pick, 'name' | 'id' | 'placeholder' | 'className' | 'type' | 'min' | 'max' | 'maxLength'>, Pick, 'aria-describedby' | 'aria-labelledby'> { + adornmentEnd?: InputProps['adornmentEnd']; + adornmentStart?: InputProps['adornmentStart']; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onBlur?: () => void; + onChange?: (value: string) => void; + value?: string; +} + +// Warning: (ae-missing-release-tag) "TextProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TextProps extends Pick, 'className' | 'id'> { + as?: 'p' | 'span' | 'div' | 'pre'; + children?: ReactNode; + size?: 'xs' | 'sm' | 'md' | 'lg'; + textAlign?: 'start' | 'center' | 'end'; + variant?: 'supporting' | 'leading'; + weight?: 'regular' | 'medium' | 'semibold' | 'bold'; +} + +// Warning: (ae-missing-release-tag) "TextStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TextStateTaxFieldProps = BaseStateTaxFieldProps & { + placeholder?: string; + FieldComponent?: ComponentType; +}; + +declare namespace TimeOff { + export { + PolicyList, + PolicyListProps, + PolicyTypeSelector, + PolicyTypeSelectorProps, + PolicyConfigurationForm, + PolicyConfigurationFormProps, + PolicySettingsPresentation as PolicySettings, + PolicySettingsPresentationProps as PolicySettingsProps, + AddEmployeesToPolicy, + AddEmployeesToPolicyProps, + HolidaySelectionForm, + HolidaySelectionFormProps, + AddEmployeesHoliday, + AddEmployeesHolidayProps, + ViewHolidayEmployees, + ViewHolidayEmployeesProps, + ViewHolidayPolicyDetails, + ViewHolidayPolicyDetailsProps, + ViewHolidaySchedule, + ViewHolidayScheduleProps, + HolidayPolicyDetailPresentationProps, + HolidayPolicyDetailEmployee, + TimeOffPolicyDetailPresentation, + TimeOffPolicyDetailPresentationProps, + TimeOffPolicyDetailEmployee, + PolicyDetails, + PolicySettingsDisplay, + TimeOffFlow, + TimeOffFlowProps + } +} + +// Warning: (ae-missing-release-tag) "TimeOffFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const TimeOffFlow: (input: TimeOffFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TimeOffFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TimeOffFlowProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "TimeOffPolicyDetailEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TimeOffPolicyDetailEmployee extends EmployeeTableItem { + // (undocumented) + balance: number | null; + // (undocumented) + uuid: string; +} + +// Warning: (ae-missing-release-tag) "TimeOffPolicyDetailPresentation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TimeOffPolicyDetailPresentation(input: TimeOffPolicyDetailPresentationProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "TimeOffPolicyDetailPresentationBaseProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "TimeOffPolicyDetailPresentationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type TimeOffPolicyDetailPresentationProps = TimeOffPolicyDetailPresentationBaseProps & ({ + policyDetails: UnlimitedPolicyDetails; + policySettings?: never; + onChangeSettings?: never; +} | { + policyDetails: RateBasedPolicyDetails; + policySettings: PolicySettingsDisplay; + onChangeSettings?: () => void; +}); + +// Warning: (ae-missing-release-tag) "TotalAmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TotalAmountFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "TransitionCreation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TransitionCreation(props: TransitionCreationProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TransitionCreationFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TransitionCreationFormData { + // (undocumented) + checkDate: Date | null; + // (undocumented) + skipRegularDeductions: boolean; +} + +// Warning: (ae-missing-release-tag) "TransitionCreationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TransitionCreationProps extends BaseComponentInterface<'Payroll.TransitionCreation'> { + // (undocumented) + companyId: string; + // (undocumented) + endDate: string; + // (undocumented) + payScheduleUuid: string; + // (undocumented) + startDate: string; +} + +// Warning: (ae-missing-release-tag) "TransitionFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TransitionFlow(input: TransitionFlowProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TransitionFlowContextInterface" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TransitionFlowContextInterface extends FlowContextInterface { + // (undocumented) + companyId: string; + // (undocumented) + endDate: string; + // (undocumented) + payrollUuid?: string; + // (undocumented) + payScheduleUuid: string; + // (undocumented) + startDate: string; +} + +// Warning: (ae-missing-release-tag) "TransitionFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TransitionFlowProps { + // (undocumented) + companyId: string; + // (undocumented) + endDate: string; + // (undocumented) + onEvent: OnEventType; + // (undocumented) + payrollUuid?: string; + // (undocumented) + payScheduleUuid: string; + // (undocumented) + startDate: string; +} + +// Warning: (ae-missing-release-tag) "TwoJobsFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TwoJobsFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "TwoPercentShareholderFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TwoPercentShareholderFieldProps = HookFieldProps; + +// Warning: (ae-missing-release-tag) "TypeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TypeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "UnorderedListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UnorderedListProps = BaseListProps; + +// Warning: (ae-missing-release-tag) "useBankForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useBankForm(input: UseBankFormProps): HookLoadingResult | UseBankFormReady; + +// Warning: (ae-missing-release-tag) "UseBankFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseBankFormProps { + // (undocumented) + defaultValues?: Partial; + employeeId?: string; + // (undocumented) + optionalFieldsToRequire?: BankFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseBankFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseBankFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (options?: BankFormSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: Record; + // (undocumented) + status: { + isPending: boolean; + mode: 'create'; + }; +} + +// Warning: (ae-missing-release-tag) "UseBankFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseBankFormResult = HookLoadingResult | UseBankFormReady; + +// Warning: (ae-missing-release-tag) "useChildSupportGarnishmentForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useChildSupportGarnishmentForm(input: UseChildSupportGarnishmentFormProps): UseChildSupportGarnishmentFormResult; + +// Warning: (ae-missing-release-tag) "UseChildSupportGarnishmentFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseChildSupportGarnishmentFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + garnishmentId?: string; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseChildSupportGarnishmentFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseChildSupportGarnishmentFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + agencies: StateFieldEntry[]; + counties: CountyEntry[]; + deduction: Garnishment | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + selectedAgency: Agencies | null; + isManualPaymentRequired: boolean; + requiredAttrKeys: ReadonlySet; + }; +} + +// Warning: (ae-missing-release-tag) "UseChildSupportGarnishmentFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseChildSupportGarnishmentFormResult = HookLoadingResult | UseChildSupportGarnishmentFormReady; + +// Warning: (ae-missing-release-tag) "useCompensationForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useCompensationForm(input: UseCompensationFormProps): HookLoadingResult | UseCompensationFormReady; + +// Warning: (ae-missing-release-tag) "UseCompensationFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseCompensationFormProps { + compensationId?: string; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId?: string; + jobId?: string; + // (undocumented) + optionalFieldsToRequire?: CompensationOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; + withEffectiveDateField?: boolean; +} + +// Warning: (ae-missing-release-tag) "UseCompensationFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseCompensationFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (options?: CompensationSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: { + compensation: Compensation | null; + currentJob: Job | null; + minimumWages: MinimumWage[]; + minimumEffectiveDate: string | null; + maximumEffectiveDate: string | null; + hasPendingFutureCompensation: boolean; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + willDeleteSecondaryJobs: boolean; + }; +} + +// Warning: (ae-missing-release-tag) "UseCompensationFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseCompensationFormResult = HookLoadingResult | UseCompensationFormReady; + +// Warning: (ae-missing-release-tag) "useCurrentHomeAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useCurrentHomeAddressForm(props: UseCurrentHomeAddressFormProps): UseHomeAddressFormResult; + +// Warning: (ae-missing-release-tag) "UseCurrentHomeAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseCurrentHomeAddressFormProps = Omit; + +// Warning: (ae-missing-release-tag) "useCurrentWorkAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useCurrentWorkAddressForm(props: UseCurrentWorkAddressFormProps): UseWorkAddressFormResult; + +// Warning: (ae-missing-release-tag) "UseCurrentWorkAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseCurrentWorkAddressFormProps = Omit; + +// Warning: (ae-missing-release-tag) "useDeductionForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useDeductionForm(input: UseDeductionFormProps): UseDeductionFormResult; + +// Warning: (ae-missing-release-tag) "UseDeductionFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseDeductionFormProps { + courtOrdered: boolean; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + garnishmentId?: string; + // (undocumented) + optionalFieldsToRequire?: DeductionFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseDeductionFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseDeductionFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + deduction: Garnishment | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + isRecurring: boolean; + }; +} + +// Warning: (ae-missing-release-tag) "UseDeductionFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseDeductionFormResult = HookLoadingResult | UseDeductionFormReady; + +// Warning: (ae-missing-release-tag) "useDeriveFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function useDeriveFieldsMetadata, TFormData extends FieldValues = FieldValues>(metadataConfig: FieldsMetadataConfig, control: Control): Record; + +// Warning: (ae-missing-release-tag) "UsedPreparerFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UsedPreparerFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "useEmployeeDetailsForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useEmployeeDetailsForm(input: UseEmployeeDetailsFormProps): HookLoadingResult | UseEmployeeDetailsFormReady; + +// Warning: (ae-forgotten-export) The symbol "UseEmployeeDetailsFormSharedProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UseEmployeeDetailsFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseEmployeeDetailsFormProps = (UseEmployeeDetailsFormSharedProps & { + companyId: string; + employeeId?: never; +}) | (UseEmployeeDetailsFormSharedProps & { + employeeId: string; + companyId?: string; +}); + +// Warning: (ae-forgotten-export) The symbol "EmployeeDetailsFields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UseEmployeeDetailsFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseEmployeeDetailsFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (callbacks?: EmployeeDetailsSubmitCallbacks) => Promise | undefined>; + }; + // (undocumented) + data: { + employee: Employee_2 | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseEmployeeDetailsFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseEmployeeDetailsFormResult = HookLoadingResult | UseEmployeeDetailsFormReady; + +// Warning: (ae-missing-release-tag) "useEmployeeStateTaxesForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useEmployeeStateTaxesForm(input: UseEmployeeStateTaxesFormProps): UseEmployeeStateTaxesFormResult; + +// Warning: (ae-missing-release-tag) "UseEmployeeStateTaxesFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseEmployeeStateTaxesFormProps { + // (undocumented) + employeeId: string; + isAdmin?: boolean; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseEmployeeStateTaxesFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseEmployeeStateTaxesFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + employeeStateTaxes: EmployeeStateTaxesList[]; + }; + // (undocumented) + form: BaseFormHookReady['form'] & { + Fields: StateTaxFieldsGroup[]; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseEmployeeStateTaxesFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseEmployeeStateTaxesFormResult = HookLoadingResult | UseEmployeeStateTaxesFormReady; + +// Warning: (ae-missing-release-tag) "useFederalTaxesForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useFederalTaxesForm(input: UseFederalTaxesFormProps): HookLoadingResult | UseFederalTaxesFormReady; + +// Warning: (ae-missing-release-tag) "UseFederalTaxesFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseFederalTaxesFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + // (undocumented) + optionalFieldsToRequire?: FederalTaxesOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseFederalTaxesFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseFederalTaxesFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + employeeFederalTax: EmployeeFederalTax; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseFederalTaxesFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseFederalTaxesFormResult = HookLoadingResult | UseFederalTaxesFormReady; + +// Warning: (ae-missing-release-tag) "useFieldErrorMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useFieldErrorMessage(fieldName: string, validationMessages?: ValidationMessages): string | undefined; + +// Warning: (ae-missing-release-tag) "useHomeAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useHomeAddressForm(input: UseHomeAddressFormProps): HookLoadingResult | UseHomeAddressFormReady; + +// Warning: (ae-missing-release-tag) "UseHomeAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseHomeAddressFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + homeAddressUuid?: string; + initialAddress?: EmployeeAddress; + // (undocumented) + optionalFieldsToRequire?: HomeAddressOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; + // (undocumented) + withEffectiveDateField?: boolean; +} + +// Warning: (ae-forgotten-export) The symbol "HomeAddressFields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UseHomeAddressFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseHomeAddressFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (options?: HomeAddressSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: { + homeAddress: EmployeeAddress | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseHomeAddressFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseHomeAddressFormResult = HookLoadingResult | UseHomeAddressFormReady; + +// Warning: (ae-missing-release-tag) "useJobForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useJobForm(input: UseJobFormProps): HookLoadingResult | UseJobFormReady; + +// Warning: (ae-missing-release-tag) "UseJobFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseJobFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId?: string; + jobId?: string; + // (undocumented) + optionalFieldsToRequire?: JobOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; + withHireDateField?: boolean; + withTitleField?: boolean; +} + +// Warning: (ae-missing-release-tag) "UseJobFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseJobFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (options?: JobSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: { + currentJob: Job | null; + jobs: Job[] | undefined; + employee: Employee_2 | null; + currentWorkAddress: EmployeeWorkAddress | null; + showTwoPercentShareholder: boolean; + showStateWc: boolean; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseJobFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseJobFormResult = HookLoadingResult | UseJobFormReady; + +// Warning: (ae-forgotten-export) The symbol "ObservabilityContextValue" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "useObservability" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const useObservability: () => ObservabilityContextValue; + +// Warning: (ae-missing-release-tag) "usePaymentMethodForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function usePaymentMethodForm(input: UsePaymentMethodFormProps): HookLoadingResult | UsePaymentMethodFormReady; + +// Warning: (ae-missing-release-tag) "UsePaymentMethodFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UsePaymentMethodFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + // (undocumented) + optionalFieldsToRequire?: PaymentMethodFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UsePaymentMethodFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UsePaymentMethodFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + paymentMethod: EmployeePaymentMethod; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UsePaymentMethodFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UsePaymentMethodFormResult = HookLoadingResult | UsePaymentMethodFormReady; + +// Warning: (ae-missing-release-tag) "usePayScheduleForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function usePayScheduleForm(input: UsePayScheduleFormProps): HookLoadingResult | UsePayScheduleFormReady; + +// Warning: (ae-missing-release-tag) "UsePayScheduleFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UsePayScheduleFormProps { + // (undocumented) + companyId: string; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + optionalFieldsToRequire?: PayScheduleOptionalFieldsToRequire; + // (undocumented) + payScheduleId?: string; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-forgotten-export) The symbol "PayScheduleFields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UsePayScheduleFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UsePayScheduleFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + paySchedule: PayScheduleShow | null; + payPeriodPreview: PaySchedulePreviewPayPeriod[] | null; + payPreviewLoading: boolean; + paymentSpeedDays: number | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UsePayScheduleFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UsePayScheduleFormResult = HookLoadingResult | UsePayScheduleFormReady; + +// Warning: (ae-missing-release-tag) "useSignCompanyForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useSignCompanyForm(input: UseSignCompanyFormProps): HookLoadingResult | UseSignCompanyFormReady; + +// Warning: (ae-missing-release-tag) "UseSignCompanyFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSignCompanyFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + formId: string; + // (undocumented) + optionalFieldsToRequire?: SignCompanyFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseSignCompanyFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSignCompanyFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + companyForm: Form; + pdfUrl: string | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create'; + }; +} + +// Warning: (ae-missing-release-tag) "UseSignCompanyFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseSignCompanyFormResult = HookLoadingResult | UseSignCompanyFormReady; + +// Warning: (ae-missing-release-tag) "useSignEmployeeForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useSignEmployeeForm(input: UseSignEmployeeFormProps): HookLoadingResult | UseSignEmployeeFormReady; + +// Warning: (ae-missing-release-tag) "UseSignEmployeeFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSignEmployeeFormProps { + // (undocumented) + employeeId: string; + // (undocumented) + formId: string; +} + +// Warning: (ae-missing-release-tag) "UseSignEmployeeFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSignEmployeeFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + addPreparer?: () => void; + removePreparer?: () => void; + }; + // (undocumented) + data: { + form: Form; + pdfUrl: string | null | undefined; + }; + // (undocumented) + form: BaseFormHookReady['form'] & { + preparers?: { + count: number; + canAdd: boolean; + canRemove: boolean; + }; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create'; + }; +} + +// Warning: (ae-missing-release-tag) "UseSignEmployeeFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseSignEmployeeFormResult = HookLoadingResult | UseSignEmployeeFormReady; + +// Warning: (ae-missing-release-tag) "useSplitPaymentsForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useSplitPaymentsForm(input: UseSplitPaymentsFormProps): HookLoadingResult | UseSplitPaymentsFormReady; + +// Warning: (ae-missing-release-tag) "UseSplitPaymentsFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSplitPaymentsFormProps { + // (undocumented) + employeeId: string; + // (undocumented) + optionalFieldsToRequire?: SplitPaymentsFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseSplitPaymentsFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSplitPaymentsFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + reorderSplits: (orderedUuids: string[]) => void; + }; + // (undocumented) + data: { + paymentMethod: EmployeePaymentMethod; + bankAccounts: EmployeeBankAccount[]; + splits: WorkingSplit[]; + remainderId: string; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'update'; + splitBy: SplitByValue; + percentageTotal: number; + hasPercentageImbalance: boolean; + }; +} + +// Warning: (ae-missing-release-tag) "UseSplitPaymentsFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseSplitPaymentsFormResult = HookLoadingResult | UseSplitPaymentsFormReady; + +// Warning: (ae-missing-release-tag) "useStateFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function useStateFields(employeeStateTaxes: EmployeeStateTaxesList[], isAdmin: boolean): StateTaxFieldsGroup[]; + +// Warning: (ae-missing-release-tag) "useWorkAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useWorkAddressForm(input: UseWorkAddressFormProps): HookLoadingResult | UseWorkAddressFormReady; + +// Warning: (ae-missing-release-tag) "UseWorkAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseWorkAddressFormProps { + companyId?: string; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + initialAddress?: EmployeeWorkAddress; + // (undocumented) + optionalFieldsToRequire?: WorkAddressOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; + // (undocumented) + withEffectiveDateField?: boolean; + workAddressUuid?: string; +} + +// Warning: (ae-forgotten-export) The symbol "WorkAddressFields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UseWorkAddressFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseWorkAddressFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (callbacks?: WorkAddressSubmitCallbacks, options?: WorkAddressSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: { + workAddress: EmployeeWorkAddress | null; + companyLocations: Location_2[] | undefined; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseWorkAddressFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseWorkAddressFormResult = HookLoadingResult | UseWorkAddressFormReady; + +// Warning: (ae-missing-release-tag) "ValidationMessages" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ValidationMessages = Record & Partial>; + +// Warning: (ae-missing-release-tag) "ViewHolidayEmployees" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ViewHolidayEmployees(props: ViewHolidayEmployeesProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ViewHolidayEmployeesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ViewHolidayEmployeesProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "ViewHolidayPolicyDetails" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ViewHolidayPolicyDetails(props: ViewHolidayPolicyDetailsProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ViewHolidayPolicyDetailsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ViewHolidayPolicyDetailsProps extends BaseComponentInterface { + // (undocumented) + companyId: string; + // (undocumented) + defaultTab?: 'holidays' | 'employees'; +} + +// Warning: (ae-missing-release-tag) "ViewHolidaySchedule" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ViewHolidaySchedule(props: ViewHolidayScheduleProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ViewHolidayScheduleProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ViewHolidayScheduleProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "withOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function withOptions(base: FieldMetadata, options: Array<{ + label: string; + value: string; +}>, entries?: readonly TEntry[]): FieldMetadataWithOptions; + +// Warning: (ae-missing-release-tag) "WorkAddress" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function WorkAddress(input: WorkAddressProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "WorkAddressErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressErrorCode = (typeof WorkAddressErrorCodes)[keyof typeof WorkAddressErrorCodes]; + +// Warning: (ae-missing-release-tag) "WorkAddressErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const WorkAddressErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_6" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "WorkAddressField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressField = keyof typeof fieldValidators_6; + +// Warning: (ae-missing-release-tag) "WorkAddressFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressFieldsMetadata = UseWorkAddressFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "WorkAddressFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressFormData = { + [K in keyof typeof fieldValidators_6]: z.infer<(typeof fieldValidators_6)[K]>; +}; + +// Warning: (ae-missing-release-tag) "WorkAddressFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressFormFields = UseWorkAddressFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "WorkAddressFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressFormOutputs = WorkAddressFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_5" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "WorkAddressOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "WorkAddressProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface WorkAddressProps extends CommonComponentInterface<'Employee.WorkAddress.Management'> { + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressRequiredValidation = typeof WorkAddressErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "WorkAddressSubmitCallbacks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface WorkAddressSubmitCallbacks { + // (undocumented) + onWorkAddressCreated?: (workAddress: EmployeeWorkAddress) => void; + // (undocumented) + onWorkAddressUpdated?: (workAddress: EmployeeWorkAddress) => void; +} + +// Warning: (ae-missing-release-tag) "WorkAddressSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface WorkAddressSubmitOptions { + // (undocumented) + effectiveDate?: string; + // (undocumented) + employeeId?: string; +} + +// Warning: (ae-missing-release-tag) "WorkingSplit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface WorkingSplit { + // (undocumented) + hiddenAccountNumber: string | null; + // (undocumented) + name: string | null; + // (undocumented) + priority: number; + // (undocumented) + splitAmount: number | null; + // (undocumented) + uuid: string; +} + +// Warning: (ae-missing-release-tag) "ZipFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZipFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "ZipValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZipValidation = (typeof HomeAddressErrorCodes)['REQUIRED' | 'INVALID_ZIP']; + +// Warnings were encountered during analysis: +// +// dist/partner-hook-utils/types.d.ts:117:13 - (ae-forgotten-export) The symbol "FieldElementRegistry" needs to be exported by the entry point index.d.ts + +// (No @packageDocumentation comment for this package) + +``` diff --git a/package-lock.json b/package-lock.json index 934f8ba78..77b153594 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,6 +31,7 @@ "@commitlint/cli": "^21.0.1", "@commitlint/config-conventional": "^21.0.2", "@eslint/js": "^9.39.2", + "@microsoft/api-extractor": "^7.58.7", "@playwright/test": "^1.60.0", "@release-it/conventional-changelog": "^11.0.1", "@storybook/addon-a11y": "^10.4.1", @@ -3645,24 +3646,23 @@ } }, "node_modules/@microsoft/api-extractor": { - "version": "7.58.1", - "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.58.1.tgz", - "integrity": "sha512-kF3GFME4lN22O5zbnXk2RP4y/4PDQdps0xKiYTipMYprkwCmmpsWLZt/N2Fkbil540cSLfJX0BW7LkHzgMVUYg==", + "version": "7.58.7", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.58.7.tgz", + "integrity": "sha512-yK6OycD46gIzLRpj6ueVUWPk1ACSpkN1LBo05gY1qPTylbWyUCanXfH7+VgkI5LJrJoRSQR5F04XuCffCXLOBw==", "dev": true, "license": "MIT", "dependencies": { - "@microsoft/api-extractor-model": "7.33.5", + "@microsoft/api-extractor-model": "7.33.8", "@microsoft/tsdoc": "~0.16.0", "@microsoft/tsdoc-config": "~0.18.1", - "@rushstack/node-core-library": "5.21.0", - "@rushstack/rig-package": "0.7.2", - "@rushstack/terminal": "0.22.4", - "@rushstack/ts-command-line": "5.3.4", + "@rushstack/node-core-library": "5.23.1", + "@rushstack/rig-package": "0.7.3", + "@rushstack/terminal": "0.24.0", + "@rushstack/ts-command-line": "5.3.9", "diff": "~8.0.2", - "lodash": "~4.18.1", "minimatch": "10.2.3", "resolve": "~1.22.1", - "semver": "~7.5.4", + "semver": "~7.7.4", "source-map": "~0.6.1", "typescript": "5.9.3" }, @@ -3671,15 +3671,15 @@ } }, "node_modules/@microsoft/api-extractor-model": { - "version": "7.33.5", - "resolved": "https://registry.npmjs.org/@microsoft/api-extractor-model/-/api-extractor-model-7.33.5.tgz", - "integrity": "sha512-Xh4dXuusndVQqVz4nEN9xOp0DyzsKxeD2FFJkSPg4arAjDSKPcy6cAc7CaeBPA7kF2wV1fuDlo2p/bNMpVr8yg==", + "version": "7.33.8", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor-model/-/api-extractor-model-7.33.8.tgz", + "integrity": "sha512-aIcoQggPyer3B6Ze3usz0YWC/oBwUHfRH5ETUsr+oT2BRA6SfTJl7IKPcPZkX4UR+PohowzW4uMxsvjrn8vm+w==", "dev": true, "license": "MIT", "dependencies": { "@microsoft/tsdoc": "~0.16.0", "@microsoft/tsdoc-config": "~0.18.1", - "@rushstack/node-core-library": "5.21.0" + "@rushstack/node-core-library": "5.23.1" } }, "node_modules/@microsoft/api-extractor/node_modules/balanced-match": { @@ -3705,19 +3705,6 @@ "node": "18 || 20 || >=22" } }, - "node_modules/@microsoft/api-extractor/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@microsoft/api-extractor/node_modules/minimatch": { "version": "10.2.3", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.3.tgz", @@ -3734,29 +3721,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@microsoft/api-extractor/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@microsoft/api-extractor/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "license": "ISC" - }, "node_modules/@microsoft/tsdoc": { "version": "0.16.0", "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.16.0.tgz", @@ -7339,9 +7303,9 @@ "license": "MIT" }, "node_modules/@rushstack/node-core-library": { - "version": "5.21.0", - "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.21.0.tgz", - "integrity": "sha512-LFzN+1lyWROit/P8Md6yxAth7lLYKn37oCKJHirEE2TQB25NDUM7bALf0ar+JAtwFfRCH+D+DGOA7DAzIi2r+g==", + "version": "5.23.1", + "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.23.1.tgz", + "integrity": "sha512-wlKmIKIYCKuCASbITvOxLZXepPbwXvrv7S6ig6XNWFchSyhL/E2txmVXspHY49Wu2dzf7nI27a2k/yV5BA3EiA==", "dev": true, "license": "MIT", "dependencies": { @@ -7352,7 +7316,7 @@ "import-lazy": "~4.0.0", "jju": "~1.4.0", "resolve": "~1.22.1", - "semver": "~7.5.4" + "semver": "~7.7.4" }, "peerDependencies": { "@types/node": "*" @@ -7380,42 +7344,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@rushstack/node-core-library/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@rushstack/node-core-library/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@rushstack/node-core-library/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "license": "ISC" - }, "node_modules/@rushstack/problem-matcher": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/@rushstack/problem-matcher/-/problem-matcher-0.2.1.tgz", @@ -7432,24 +7360,24 @@ } }, "node_modules/@rushstack/rig-package": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/@rushstack/rig-package/-/rig-package-0.7.2.tgz", - "integrity": "sha512-9XbFWuqMYcHUso4mnETfhGVUSaADBRj6HUAAEYk50nMPn8WRICmBuCphycQGNB3duIR6EEZX3Xj3SYc2XiP+9A==", + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/@rushstack/rig-package/-/rig-package-0.7.3.tgz", + "integrity": "sha512-aAA518n6wxxjCfnTAOjQnm7ngNE0FVHxHAw2pxKlIhxrMn0XQjGcXKF0oKWpjBgJOmsaJpVob/v+zr3zxgPWuA==", "dev": true, "license": "MIT", "dependencies": { - "resolve": "~1.22.1", - "strip-json-comments": "~3.1.1" + "jju": "~1.4.0", + "resolve": "~1.22.1" } }, "node_modules/@rushstack/terminal": { - "version": "0.22.4", - "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.22.4.tgz", - "integrity": "sha512-fhtLjnXCc/4WleVbVl6aoc7jcWnU6yqjS1S8WoaNREG3ycu/viZ9R/9QM7Y/b4CDvcXoiDyMNIay7JMwBptM3g==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.24.0.tgz", + "integrity": "sha512-8ZQS4MMaGsv27EXCBiH7WMPkRZrffeDoIevs6z9TM5dzqiY6+Hn4evfK/G+gvgBTjfvfkHIZPQQmalmI2sM4TQ==", "dev": true, "license": "MIT", "dependencies": { - "@rushstack/node-core-library": "5.21.0", + "@rushstack/node-core-library": "5.23.1", "@rushstack/problem-matcher": "0.2.1", "supports-color": "~8.1.1" }, @@ -7479,13 +7407,13 @@ } }, "node_modules/@rushstack/ts-command-line": { - "version": "5.3.4", - "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-5.3.4.tgz", - "integrity": "sha512-MLkVKVEN6/2clKTrjN2B2KqKCuPxRwnNsWY7a+FCAq2EMdkj10cM8YgiBSMeGFfzM0mDMzargpHNnNzaBi9Whg==", + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-5.3.9.tgz", + "integrity": "sha512-GIHqU+sRGQ3LGWAZu1O+9Yh++qwtyNIIGuNbcWHJjBTm2qRez0cwINUHZ+pQLR8UuzZDcMajrDaNbUYoaL/XtQ==", "dev": true, "license": "MIT", "dependencies": { - "@rushstack/terminal": "0.22.4", + "@rushstack/terminal": "0.24.0", "@types/argparse": "1.0.38", "argparse": "~1.0.9", "string-argv": "~0.3.1" @@ -14212,9 +14140,9 @@ } }, "node_modules/fs-extra": { - "version": "11.3.4", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.4.tgz", - "integrity": "sha512-CTXd6rk/M3/ULNQj8FBqBWHYBVYybQ3VPBw0xGKFe3tuH7ytT6ACnvzpIQ3UZtB8yvUKC2cXn1a+x+5EVQLovA==", + "version": "11.3.5", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.5.tgz", + "integrity": "sha512-eKpRKAovdpZtR1WopLHxlBWvAgPny3c4gX1G5Jhwmmw4XJj0ifSD5qB5TOo8hmA0wlRKDAOAhEE1yVPgs6Fgcg==", "dev": true, "license": "MIT", "dependencies": { @@ -18427,9 +18355,9 @@ "license": "MIT" }, "node_modules/jsonfile": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz", - "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz", + "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index b9234b229..da143d07e 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ ], "scripts": { "build": "npm run build:clean && npm run i18n:generate && vite build && npm run endpoints:derive", + "api-report:derive": "api-extractor run --local --config .reports/config/api-extractor.json", "endpoints:derive": "npx tsx ./build/deriveEndpointInventory.ts", "endpoints:verify": "npx tsx ./build/deriveEndpointInventory.ts --verify", "build:ci": "npm run build && npm run lint:check && npm run format:check && npm run test:ci", @@ -91,6 +92,7 @@ "@commitlint/cli": "^21.0.1", "@commitlint/config-conventional": "^21.0.2", "@eslint/js": "^9.39.2", + "@microsoft/api-extractor": "^7.58.7", "@playwright/test": "^1.60.0", "@release-it/conventional-changelog": "^11.0.1", "@storybook/addon-a11y": "^10.4.1", @@ -192,4 +194,4 @@ "e2e/public" ] } -} +} \ No newline at end of file From 905fe92c18d4800cb5f1d09385cb24662bb0675d Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Thu, 28 May 2026 17:00:11 -0700 Subject: [PATCH 02/11] build(SDK-970): add write-tsdoc skill and tsdoc-stub generator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The write-tsdoc skill documents a single exported symbol given its code and a prose description. The stub generator (scripts/tsdoc-stub.ts) extracts type parameters, parameter names, and return type from the TypeScript signature via ts-morph, producing a pre-filled skeleton so Claude fills in prose only — not structure. Workflow: npm run tsdoc:stub -- --file --symbol → grep .reports/embedded-react-sdk.public.api.md for release tag → fill in descriptions from provided prose Also excludes scripts/ from ESLint (same treatment as build/). Co-Authored-By: Claude Sonnet 4.6 --- .claude/skills/write-tsdoc/SKILL.md | 63 + .reports/config/api-extractor.json | 27 +- .reports/config/tsconfig.json | 20 - ...ublic.api.md => embedded-react-sdk.api.md} | 11594 ++++++++-------- build/tsdoc-stub.ts | 160 + 5 files changed, 6042 insertions(+), 5822 deletions(-) create mode 100644 .claude/skills/write-tsdoc/SKILL.md delete mode 100644 .reports/config/tsconfig.json rename .reports/{embedded-react-sdk.public.api.md => embedded-react-sdk.api.md} (97%) create mode 100644 build/tsdoc-stub.ts diff --git a/.claude/skills/write-tsdoc/SKILL.md b/.claude/skills/write-tsdoc/SKILL.md new file mode 100644 index 000000000..4023b04b3 --- /dev/null +++ b/.claude/skills/write-tsdoc/SKILL.md @@ -0,0 +1,63 @@ +--- +name: write-tsdoc +description: >- + Write a valid TSDoc comment for an exported SDK symbol. Use when adding + documentation to a new export, documenting an existing export, or when a + symbol is missing a TSDoc block. +--- + +# Write TSDoc + +## 1. Generate the skeleton + +If any segment of the file path is `shared` or `helpers`, pass `--default-release internal`; otherwise omit it. + +```bash +npx tsx build/tsdoc-stub.ts --file --symbol [--default-release internal] +``` + +The output is two parts: a `LINE:N` header giving the line number of the declaration, then the comment skeleton. Parse `N` — you will insert the finished comment immediately before that line. If the release tag is `@internal`, prose is optional — `/** @internal */` alone is sufficient, but document the symbol if it is non-obvious or complex. + +## 2. Fill in the prose + +**Summary** — one sentence after `/**`. Active verb for functions (`Formats…`, `Returns…`); shape description for types/interfaces. Under ~100 characters. + +**`@param name -`** — one clause; don't restate the type. For complex params with discriminated unions, link the types directly: `{@link CreateProps} or {@link UpdateProps}`. + +**`@returns`** — what the value is, not its type. For loading-state hooks describe both branches: `A {@link HookLoadingResult} while loading, or a {@link UseXxxReady} once ready.` + +**`@remarks`** (optional) — behavioral notes, edge cases, or constraints that don't fit the summary. Place between summary and the param group. + +**`@example`** (optional) — when a snippet meaningfully clarifies usage. Import from the published package, not internal paths. + +**`@see`** (optional) — `{@link TypeName}` references for closely related symbols. + +## 3. Tag order + +```` +/** + * Summary. + * + * @remarks + * Optional extended prose. + * + * @typeParam T - description + * @param name - description + * @returns description + * @public + * + * @example + * ```ts + * // code + * ``` + */ +```` + +- One blank line between summary and tag group +- `@remarks` is its own group (blank lines before and after) +- `@typeParam`, `@param`, `@returns`, `@deprecated`, and the release tag are one group — no blank lines between them +- Each `@example` is its own group + +## 4. Output + +Print the comment block. Do not write it to the file. diff --git a/.reports/config/api-extractor.json b/.reports/config/api-extractor.json index e0142b00b..93c874a3b 100644 --- a/.reports/config/api-extractor.json +++ b/.reports/config/api-extractor.json @@ -3,16 +3,33 @@ "projectFolder": "../../", "mainEntryPointFilePath": "/dist/index.d.ts", "bundledPackages": [], + "newlineKind": "lf", "compiler": { - "tsconfigFilePath": "/.reports/config/tsconfig.json" + "overrideTsconfig": { + "compilerOptions": { + "lib": [ + "ESNext", + "DOM" + ], + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "esModuleInterop": true, + "jsx": "react-jsx", + "declaration": true, + "skipLibCheck": true, + "strict": true + }, + "files": [ + "dist/index.d.ts" + ] + } }, "apiReport": { "enabled": true, "reportFolder": "/.reports/", - "reportTempFolder": "/.reports/temp/", - "reportVariants": [ - "public" - ] + "reportTempFolder": "/.reports/temp/" }, "docModel": { "enabled": false diff --git a/.reports/config/tsconfig.json b/.reports/config/tsconfig.json deleted file mode 100644 index 12e4d1b4b..000000000 --- a/.reports/config/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compilerOptions": { - "lib": [ - "ESNext", - "DOM" - ], - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "bundler", - "resolveJsonModule": true, - "esModuleInterop": true, - "jsx": "react-jsx", - "declaration": true, - "skipLibCheck": true, - "strict": true - }, - "files": [ - "dist/index.d.ts" - ] -} \ No newline at end of file diff --git a/.reports/embedded-react-sdk.public.api.md b/.reports/embedded-react-sdk.api.md similarity index 97% rename from .reports/embedded-react-sdk.public.api.md rename to .reports/embedded-react-sdk.api.md index 7b2297409..726b29748 100644 --- a/.reports/embedded-react-sdk.public.api.md +++ b/.reports/embedded-react-sdk.api.md @@ -1,5797 +1,5797 @@ -## Public API Report File for "@gusto/embedded-react-sdk" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -import { AfterErrorContext } from '@gusto/embedded-api/hooks/types'; -import { AfterErrorHook } from '@gusto/embedded-api/hooks/types'; -import { AfterSuccessContext } from '@gusto/embedded-api/hooks/types'; -import { AfterSuccessHook } from '@gusto/embedded-api/hooks/types'; -import { Agencies } from '@gusto/embedded-api/models/components/childsupportdata'; -import { AnchorHTMLAttributes } from 'react'; -import { AriaAttributes } from 'react'; -import { BeforeCreateRequestContext } from '@gusto/embedded-api/hooks/types'; -import { BeforeCreateRequestHook } from '@gusto/embedded-api/hooks/types'; -import { BeforeRequestContext } from '@gusto/embedded-api/hooks/types'; -import { BeforeRequestHook } from '@gusto/embedded-api/hooks/types'; -import { ButtonHTMLAttributes } from 'react'; -import { Compensation } from '@gusto/embedded-api/models/components/compensation'; -import { ComponentType } from 'react'; -import { Contractor as Contractor_2 } from '@gusto/embedded-api/models/components/contractor'; -import { ContractorAddress } from '@gusto/embedded-api/models/components/contractoraddress'; -import { Control } from 'react-hook-form'; -import { CustomTypeOptions } from 'i18next'; -import { default as default_2 } from 'react'; -import { Employee as Employee_2 } from '@gusto/embedded-api/models/components/employee'; -import { EmployeeAddress } from '@gusto/embedded-api/models/components/employeeaddress'; -import { EmployeeBankAccount } from '@gusto/embedded-api/models/components/employeebankaccount'; -import { EmployeeFederalTax } from '@gusto/embedded-api/models/components/employeefederaltax'; -import { EmployeePaymentMethod } from '@gusto/embedded-api/models/components/employeepaymentmethod'; -import { EmployeeStateTaxesList } from '@gusto/embedded-api/models/components/employeestatetaxeslist'; -import { EmployeeStateTaxQuestion } from '@gusto/embedded-api/models/components/employeestatetaxquestion'; -import { EmployeeWorkAddress } from '@gusto/embedded-api/models/components/employeeworkaddress'; -import { ErrorInfo } from 'react'; -import { FallbackProps } from 'react-error-boundary'; -import { FieldsetHTMLAttributes } from 'react'; -import { FieldValues } from 'react-hook-form'; -import { FlsaStatusType } from '@gusto/embedded-api/models/components/flsastatustype'; -import { FocusEvent as FocusEvent_2 } from 'react'; -import { Form } from '@gusto/embedded-api/models/components/form'; -import { Garnishment } from '@gusto/embedded-api/models/components/garnishment'; -import { GarnishmentType } from '@gusto/embedded-api/models/components/garnishment'; -import { HTMLAttributes } from 'react'; -import { InputHTMLAttributes } from 'react'; -import { Job } from '@gusto/embedded-api/models/components/job'; -import { JSX } from 'react'; -import { JSX as JSX_2 } from 'react/jsx-runtime'; -import { JSXElementConstructor } from 'react'; -import { Location as Location_2 } from '@gusto/embedded-api/models/components/location'; -import { MinimumWage } from '@gusto/embedded-api/models/components/minimumwage'; -import { PaymentPeriod } from '@gusto/embedded-api/models/components/garnishmentchildsupport'; -import { PaymentUnit } from '@gusto/embedded-api/models/components/compensation'; -import { PayrollPayPeriodType } from '@gusto/embedded-api/models/components/payrollpayperiodtype'; -import { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api/models/components/payschedulepreviewpayperiod'; -import { PayScheduleShow } from '@gusto/embedded-api/models/components/payscheduleshow'; -import { PolicyType as PolicyType_2 } from '@gusto/embedded-api/models/components/timeoffpolicy'; -import { QueryClient } from '@tanstack/react-query'; -import { ReactElement } from 'react'; -import { ReactNode } from 'react'; -import { Ref } from 'react'; -import { RefObject } from 'react'; -import { SelectHTMLAttributes } from 'react'; -import { Signatory } from '@gusto/embedded-api/models/components/signatory'; -import { SyntheticEvent } from 'react'; -import { TableHTMLAttributes } from 'react'; -import { TextareaHTMLAttributes } from 'react'; -import { UseFormProps } from 'react-hook-form'; -import { UseFormReturn } from 'react-hook-form'; -import { UseQueryResult } from '@tanstack/react-query'; -import { z } from 'zod'; - -// Warning: (ae-missing-release-tag) "ACCOUNT_TYPES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const ACCOUNT_TYPES: readonly ["Checking", "Savings"]; - -// Warning: (ae-missing-release-tag) "AccountNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type AccountNumberFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "AccountNumberValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type AccountNumberValidation = (typeof BankFormErrorCodes)[keyof Pick]; - -// Warning: (ae-missing-release-tag) "AccountType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type AccountType = (typeof ACCOUNT_TYPES)[number]; - -// Warning: (ae-missing-release-tag) "AccountTypeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type AccountTypeFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "AddEmployeesHoliday" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function AddEmployeesHoliday(props: AddEmployeesHolidayProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "BaseComponentInterface" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "AddEmployeesHolidayProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface AddEmployeesHolidayProps extends BaseComponentInterface { - // (undocumented) - companyId: string; -} - -// Warning: (ae-missing-release-tag) "AddEmployeesToPolicy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function AddEmployeesToPolicy(props: AddEmployeesToPolicyProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "AddEmployeesToPolicyProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface AddEmployeesToPolicyProps extends BaseComponentInterface { - // (undocumented) - companyId: string; - // (undocumented) - policyId: string; - // Warning: (ae-forgotten-export) The symbol "CreatableTimeOffPolicyType" needs to be exported by the entry point index.d.ts - // - // (undocumented) - policyType: CreatableTimeOffPolicyType; -} - -// Warning: (ae-forgotten-export) The symbol "AddressProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "Address" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function Address(props: AddressProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "AdjustForMinimumWageFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type AdjustForMinimumWageFieldProps = HookFieldProps; - -export { AfterErrorContext } - -export { AfterErrorHook } - -export { AfterSuccessContext } - -export { AfterSuccessHook } - -// Warning: (ae-missing-release-tag) "AlertProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface AlertProps { - action?: ReactNode; - children?: ReactNode; - className?: string; - disableScrollIntoView?: boolean; - icon?: ReactNode; - label: string; - onDismiss?: () => void; - status?: 'info' | 'success' | 'warning' | 'error'; -} - -// Warning: (ae-missing-release-tag) "AnchorEndOfPayPeriodFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type AnchorEndOfPayPeriodFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "AnchorPayDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type AnchorPayDateFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "AnnualMaximumFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type AnnualMaximumFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "APIConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface APIConfig { - // (undocumented) - baseUrl: string; - // (undocumented) - headers?: HeadersInit; - // (undocumented) - hooks?: SDKHooks; - // (undocumented) - observability?: ObservabilityHook; -} - -// Warning: (ae-missing-release-tag) "ApiPayrollBlocker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface ApiPayrollBlocker { - // (undocumented) - key: string; - // (undocumented) - message?: string; -} - -// Warning: (ae-missing-release-tag) "ApiProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function ApiProvider(input: ApiProviderProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "ApiProviderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ApiProviderProps { - // (undocumented) - children: React.ReactNode; - // (undocumented) - headers?: HeadersInit; - // (undocumented) - hooks?: SDKHooks; - // (undocumented) - queryClient?: QueryClient; - // (undocumented) - url: string; -} - -// Warning: (ae-forgotten-export) The symbol "AssignSignatoryProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "AssignSignatory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function AssignSignatory(props: AssignSignatoryProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "BadgeProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface BadgeProps extends Pick, 'className' | 'id' | 'aria-label'> { - children: ReactNode; - dismissAriaLabel?: string; - isDisabled?: boolean; - onDismiss?: () => void; - status?: 'success' | 'warning' | 'error' | 'info'; -} - -// Warning: (ae-forgotten-export) The symbol "BankAccountProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "BankAccount" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function BankAccount(props: BankAccountProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_8" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "BankFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type BankFormData = { - [K in keyof typeof fieldValidators_8]: z.infer<(typeof fieldValidators_8)[K]>; -}; - -// Warning: (ae-missing-release-tag) "BankFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type BankFormErrorCode = (typeof BankFormErrorCodes)[keyof typeof BankFormErrorCodes]; - -// Warning: (ae-missing-release-tag) "BankFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const BankFormErrorCodes: { - readonly REQUIRED: "REQUIRED"; - readonly INVALID_ROUTING_NUMBER: "INVALID_ROUTING_NUMBER"; - readonly INVALID_ACCOUNT_NUMBER: "INVALID_ACCOUNT_NUMBER"; -}; - -// Warning: (ae-missing-release-tag) "BankFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type BankFormField = keyof typeof fieldValidators_8; - -// Warning: (ae-missing-release-tag) "BankFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface BankFormFields { - // Warning: (ae-forgotten-export) The symbol "AccountNumberField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - AccountNumber: typeof AccountNumberField; - // Warning: (ae-forgotten-export) The symbol "AccountTypeField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - AccountType: typeof AccountTypeField; - // Warning: (ae-forgotten-export) The symbol "NameField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Name: typeof NameField; - // Warning: (ae-forgotten-export) The symbol "RoutingNumberField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - RoutingNumber: typeof RoutingNumberField; -} - -// Warning: (ae-missing-release-tag) "BankFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type BankFormFieldsMetadata = UseBankFormReady['form']['fieldsMetadata']; - -// Warning: (ae-forgotten-export) The symbol "OptionalFieldsToRequire" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_7" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "BankFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type BankFormOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "BankFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type BankFormOutputs = BankFormData; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type BankFormRequiredValidation = typeof BankFormErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "BankFormSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface BankFormSubmitOptions { - employeeId?: string; -} - -// Warning: (ae-missing-release-tag) "BannerProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface BannerProps extends Pick, 'className' | 'id' | 'aria-label'> { - children: ReactNode; - status?: 'warning' | 'error'; - title: ReactNode; -} - -// Warning: (ae-missing-release-tag) "BaseFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface BaseFieldProps { - // (undocumented) - description?: default_2.ReactNode; - // (undocumented) - label: string; -} - -// Warning: (ae-missing-release-tag) "BaseFormHookReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface BaseFormHookReady> { - // (undocumented) - actions: Record; - // (undocumented) - data: Record; - // (undocumented) - errorHandling: HookErrorHandling; - // (undocumented) - form: { - Fields: TFields; - fieldsMetadata: TFieldsMetadata; - hookFormInternals: HookFormInternals; - getFormSubmissionValues: () => Record | undefined; - }; - // (undocumented) - isLoading: false; - // (undocumented) - status: { - isPending: boolean; - mode: 'create' | 'update'; - }; -} - -// Warning: (ae-missing-release-tag) "BaseHookReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface BaseHookReady = Record, TStatus extends Record = Record> { - // (undocumented) - data: TData; - // (undocumented) - errorHandling: HookErrorHandling; - // (undocumented) - isLoading: false; - // (undocumented) - status: TStatus; -} - -export { BeforeCreateRequestContext } - -export { BeforeCreateRequestHook } - -export { BeforeRequestContext } - -export { BeforeRequestHook } - -// Warning: (ae-missing-release-tag) "BoxHeaderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface BoxHeaderProps { - // (undocumented) - action?: ReactNode; - // (undocumented) - description?: ReactNode; - // (undocumented) - headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; - // (undocumented) - title: ReactNode; -} - -// Warning: (ae-missing-release-tag) "BoxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface BoxProps { - // (undocumented) - children: ReactNode; - // (undocumented) - className?: string; - // (undocumented) - footer?: ReactNode; - // (undocumented) - header?: ReactNode; - // (undocumented) - withPadding?: boolean; -} - -// Warning: (ae-missing-release-tag) "BreadcrumbsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface BreadcrumbsProps { - 'aria-label'?: string; - // Warning: (ae-forgotten-export) The symbol "Breadcrumb" needs to be exported by the entry point index.d.ts - breadcrumbs: Breadcrumb[]; - className?: string; - currentBreadcrumbId?: string; - isSmallContainer?: boolean; - onClick?: (id: string) => void; -} - -// Warning: (ae-missing-release-tag) "ButtonIconProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ButtonIconProps = ButtonProps & { - 'aria-label': string; -}; - -// Warning: (ae-missing-release-tag) "ButtonProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ButtonProps extends Pick, 'name' | 'id' | 'className' | 'type' | 'onClick' | 'onKeyDown' | 'onKeyUp' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'form' | 'title' | 'tabIndex'> { - buttonRef?: Ref; - children?: ReactNode; - icon?: ReactNode; - isDisabled?: boolean; - isLoading?: boolean; - onBlur?: (e: FocusEvent_2) => void; - onFocus?: (e: FocusEvent_2) => void; - variant?: 'primary' | 'secondary' | 'tertiary' | 'error'; -} - -// Warning: (ae-missing-release-tag) "CalendarPreviewProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CalendarPreviewProps = { - highlightDates?: Array<{ - date: Date; - highlightColor: 'primary' | 'secondary'; - label: string; - }>; - dateRange: { - start: Date; - end: Date; - label: string; - }; -}; - -// Warning: (ae-missing-release-tag) "CardProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface CardProps { - action?: ReactNode; - children: ReactNode; - className?: string; - menu?: ReactNode; -} - -// Warning: (ae-missing-release-tag) "CaseNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CaseNumberFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "CheckboxGroupOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface CheckboxGroupOption { - description?: React.ReactNode; - isDisabled?: boolean; - label: React.ReactNode; - value: string; -} - -// Warning: (ae-forgotten-export) The symbol "SharedFieldLayoutProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "CheckboxGroupProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface CheckboxGroupProps extends SharedFieldLayoutProps, Pick, 'className'> { - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - onChange?: (value: string[]) => void; - options: Array; - value?: string[]; -} - -// Warning: (ae-missing-release-tag) "CheckboxHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function CheckboxHookField(input: CheckboxHookFieldProps): ReactElement>; - -// Warning: (ae-missing-release-tag) "CheckboxHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface CheckboxHookFieldProps extends BaseFieldProps { - // (undocumented) - FieldComponent?: ComponentType; - // (undocumented) - formHookResult?: FormHookResult; - // (undocumented) - name: string; - // (undocumented) - validationMessages?: ValidationMessages; -} - -// Warning: (ae-forgotten-export) The symbol "SharedHorizontalFieldLayoutProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "CheckboxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface CheckboxProps extends SharedHorizontalFieldLayoutProps, Pick, 'name' | 'id' | 'className'> { - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - onBlur?: () => void; - onChange?: (value: boolean) => void; - value?: boolean; -} - -// Warning: (ae-missing-release-tag) "AmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentAmountFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "AmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentAmountValidation = ChildSupportGarnishmentRequiredValidation | ChildSupportGarnishmentPercentValidation; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_2" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentFormData = { - [K in keyof typeof fieldValidators_2]: z.infer<(typeof fieldValidators_2)[K]>; -}; - -// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentFormErrorCode = (typeof ChildSupportGarnishmentFormErrorCodes)[keyof typeof ChildSupportGarnishmentFormErrorCodes]; - -// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const ChildSupportGarnishmentFormErrorCodes: { - readonly REQUIRED: "REQUIRED"; - readonly NEGATIVE_AMOUNT: "NEGATIVE_AMOUNT"; - readonly PERCENT_OUT_OF_RANGE: "PERCENT_OUT_OF_RANGE"; -}; - -// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ChildSupportGarnishmentFormFields { - // Warning: (ae-forgotten-export) The symbol "AmountField_2" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Amount: typeof AmountField_2; - // Warning: (ae-forgotten-export) The symbol "CaseNumberField" needs to be exported by the entry point index.d.ts - CaseNumber: typeof CaseNumberField | undefined; - // Warning: (ae-forgotten-export) The symbol "FipsCodeField" needs to be exported by the entry point index.d.ts - FipsCode: typeof FipsCodeField | undefined; - // Warning: (ae-forgotten-export) The symbol "OrderNumberField" needs to be exported by the entry point index.d.ts - OrderNumber: typeof OrderNumberField | undefined; - // Warning: (ae-forgotten-export) The symbol "PaymentPeriodField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - PaymentPeriod: typeof PaymentPeriodField; - // Warning: (ae-forgotten-export) The symbol "PayPeriodMaximumField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - PayPeriodMaximum: typeof PayPeriodMaximumField; - // Warning: (ae-forgotten-export) The symbol "RemittanceNumberField" needs to be exported by the entry point index.d.ts - RemittanceNumber: typeof RemittanceNumberField | undefined; - // Warning: (ae-forgotten-export) The symbol "StateField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - State: typeof StateField; -} - -// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentFormFieldsMetadata = UseChildSupportGarnishmentFormReady['form']['fieldsMetadata']; - -// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentFormOutputs = ChildSupportGarnishmentFormData; - -// Warning: (ae-missing-release-tag) "NegativeAmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentNegativeAmountValidation = typeof ChildSupportGarnishmentFormErrorCodes.NEGATIVE_AMOUNT; - -// Warning: (ae-missing-release-tag) "PercentValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentPercentValidation = typeof ChildSupportGarnishmentFormErrorCodes.PERCENT_OUT_OF_RANGE; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentRequiredValidation = typeof ChildSupportGarnishmentFormErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "StateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ChildSupportGarnishmentStateFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "CityFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CityFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "QueryWithError" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "collectErrors" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function collectErrors(queries: QueryWithError[], submitError: SDKError | null): SDKError[]; - -// Warning: (ae-missing-release-tag) "ComboBoxOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ComboBoxOption { - label: string; - value: string; -} - -// Warning: (ae-missing-release-tag) "ComboBoxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ComboBoxProps extends SharedFieldLayoutProps, Pick, 'className' | 'id' | 'name' | 'placeholder'> { - allowsCustomValue?: boolean; - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - label: string; - onBlur?: () => void; - onChange?: (value: string) => void; - options: ComboBoxOption[]; - portalContainer?: HTMLElement; - value?: string | null; -} - -declare namespace Company { - export { - Industry, - AssignSignatory, - CreateSignatory, - InviteSignatory, - DocumentList, - SignatureForm, - DocumentSigner, - OnboardingOverview, - Locations, - LocationForm, - PaySchedule, - FederalTaxes, - BankAccount, - StateTaxesList, - StateTaxesForm, - StateTaxes, - OnboardingFlow - } -} - -declare namespace CompanyOnboarding { - export { - OnboardingFlow, - OnboardingOverview, - DocumentSigner, - DocumentList, - SignatureForm, - Industry, - BankAccount, - Locations, - LocationForm, - PaySchedule, - FederalTaxes, - StateTaxes, - StateTaxesForm, - StateTaxesList, - AssignSignatory, - CreateSignatory, - InviteSignatory - } -} - -// Warning: (ae-forgotten-export) The symbol "CompensationProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "Compensation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// Warning: (ae-missing-release-tag) "Compensation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function Compensation_2(props: CompensationProps): JSX_2.Element; - -// @public (undocumented) -namespace Compensation_2 { - var // Warning: (ae-forgotten-export) The symbol "JobsList" needs to be exported by the entry point index.d.ts - // - // (undocumented) - JobsList: JobsList; - var // Warning: (ae-forgotten-export) The symbol "EditCompensation" needs to be exported by the entry point index.d.ts - // - // (undocumented) - EditCompensation: EditCompensation; -} - -// Warning: (ae-missing-release-tag) "EffectiveDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CompensationEffectiveDateFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "EffectiveDateValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CompensationEffectiveDateValidation = (typeof CompensationErrorCodes)['REQUIRED' | 'EFFECTIVE_DATE_BEFORE_HIRE' | 'EFFECTIVE_DATE_BEFORE_MIN']; - -// Warning: (ae-missing-release-tag) "CompensationErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CompensationErrorCode = (typeof CompensationErrorCodes)[keyof typeof CompensationErrorCodes]; - -// Warning: (ae-missing-release-tag) "CompensationErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const CompensationErrorCodes: { - readonly REQUIRED: "REQUIRED"; - readonly RATE_MINIMUM: "RATE_MINIMUM"; - readonly RATE_EXEMPT_THRESHOLD: "RATE_EXEMPT_THRESHOLD"; - readonly PAYMENT_UNIT_OWNER: "PAYMENT_UNIT_OWNER"; - readonly PAYMENT_UNIT_COMMISSION: "PAYMENT_UNIT_COMMISSION"; - readonly RATE_COMMISSION_ZERO: "RATE_COMMISSION_ZERO"; - readonly EFFECTIVE_DATE_BEFORE_HIRE: "EFFECTIVE_DATE_BEFORE_HIRE"; - readonly EFFECTIVE_DATE_BEFORE_MIN: "EFFECTIVE_DATE_BEFORE_MIN"; -}; - -// Warning: (ae-missing-release-tag) "CompensationFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CompensationFieldsMetadata = UseCompensationFormReady['form']['fieldsMetadata']; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_3" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "CompensationFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CompensationFormData = { - [K in keyof typeof fieldValidators_3]: z.infer<(typeof fieldValidators_3)[K]>; -}; - -// Warning: (ae-missing-release-tag) "CompensationFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface CompensationFormFields { - // Warning: (ae-forgotten-export) The symbol "AdjustForMinimumWageField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - AdjustForMinimumWage: typeof AdjustForMinimumWageField | undefined; - // Warning: (ae-forgotten-export) The symbol "EffectiveDateField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - EffectiveDate: typeof EffectiveDateField | undefined; - // Warning: (ae-forgotten-export) The symbol "FlsaStatusField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - FlsaStatus: typeof FlsaStatusField | undefined; - // Warning: (ae-forgotten-export) The symbol "MinimumWageIdField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - MinimumWageId: typeof MinimumWageIdField | undefined; - // Warning: (ae-forgotten-export) The symbol "PaymentUnitField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - PaymentUnit: typeof PaymentUnitField; - // Warning: (ae-forgotten-export) The symbol "RateField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Rate: typeof RateField; - // Warning: (ae-forgotten-export) The symbol "TitleField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Title: typeof TitleField; -} - -// Warning: (ae-missing-release-tag) "CompensationFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CompensationFormOutputs = CompensationFormData; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_2" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "CompensationOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CompensationOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CompensationRequiredValidation = typeof CompensationErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "CompensationSchemaOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface CompensationSchemaOptions { - hireDate?: string | null; - minEffectiveDate?: string | null; - // (undocumented) - mode?: 'create' | 'update'; - // (undocumented) - optionalFieldsToRequire?: CompensationOptionalFieldsToRequire; - withEffectiveDateField?: boolean; -} - -// Warning: (ae-missing-release-tag) "CompensationSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface CompensationSubmitOptions { - compensationId?: string; - compensationVersion?: string; - effectiveDate?: string; - jobId?: string; -} - -// Warning: (ae-missing-release-tag) "TitleFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CompensationTitleFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "componentEvents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const componentEvents: { - readonly TIME_OFF_CREATE_POLICY: "timeOff/createPolicy"; - readonly TIME_OFF_VIEW_POLICY: "timeOff/viewPolicy"; - readonly TIME_OFF_POLICY_TYPE_SELECTED: "timeOff/policyTypeSelected"; - readonly TIME_OFF_POLICY_DETAILS_DONE: "timeOff/policyDetails/done"; - readonly TIME_OFF_POLICY_SETTINGS_DONE: "timeOff/policySettings/done"; - readonly TIME_OFF_POLICY_SETTINGS_BACK: "timeOff/policySettings/back"; - readonly TIME_OFF_ADD_EMPLOYEES_DONE: "timeOff/addEmployees/done"; - readonly TIME_OFF_ADD_EMPLOYEES_BACK: "timeOff/addEmployees/back"; - readonly TIME_OFF_HOLIDAY_SELECTION_DONE: "timeOff/holidaySelection/done"; - readonly TIME_OFF_HOLIDAY_ADD_EMPLOYEES_DONE: "timeOff/holidayAddEmployees/done"; - readonly TIME_OFF_VIEW_POLICY_DETAILS: "timeOff/viewPolicyDetails"; - readonly TIME_OFF_VIEW_POLICY_EMPLOYEES: "timeOff/viewPolicyEmployees"; - readonly TIME_OFF_VIEW_HOLIDAY_EMPLOYEES: "timeOff/viewHolidayEmployees"; - readonly TIME_OFF_VIEW_HOLIDAY_SCHEDULE: "timeOff/viewHolidaySchedule"; - readonly TIME_OFF_BACK_TO_LIST: "timeOff/backToList"; - readonly TIME_OFF_POLICY_CREATE_ERROR: "timeOff/policyCreate/error"; - readonly TIME_OFF_POLICY_SETTINGS_ERROR: "timeOff/policySettings/error"; - readonly TIME_OFF_ADD_EMPLOYEES_ERROR: "timeOff/addEmployees/error"; - readonly TIME_OFF_HOLIDAY_CREATE_ERROR: "timeOff/holidayCreate/error"; - readonly TIME_OFF_HOLIDAY_ADD_EMPLOYEES_ERROR: "timeOff/holidayAddEmployees/error"; - readonly TIME_OFF_EDIT_POLICY: "timeOff/editPolicy"; - readonly TIME_OFF_CHANGE_SETTINGS: "timeOff/changeSettings"; - readonly TIME_OFF_ADD_EMPLOYEES_TO_POLICY: "timeOff/addEmployeesToPolicy"; - readonly TIME_OFF_HOLIDAY_ADD_EMPLOYEES: "timeOff/holidayAddEmployees"; - readonly TIME_OFF_EDIT_HOLIDAY_POLICY: "timeOff/editHolidayPolicy"; - readonly TIME_OFF_HOLIDAY_SELECTION_EDIT_DONE: "timeOff/holidaySelection/editDone"; - readonly TIME_OFF_DELETE_POLICY_DONE: "timeOff/deletePolicy/done"; - readonly EMPLOYEE_TERMINATION_CREATED: "employee/termination/created"; - readonly EMPLOYEE_TERMINATION_UPDATED: "employee/termination/updated"; - readonly EMPLOYEE_TERMINATION_PAYROLL_CREATED: "employee/termination/payroll/created"; - readonly EMPLOYEE_TERMINATION_PAYROLL_FAILED: "employee/termination/payroll/failed"; - readonly EMPLOYEE_TERMINATION_DONE: "employee/termination/done"; - readonly EMPLOYEE_TERMINATION_CANCELLED: "employee/termination/cancelled"; - readonly EMPLOYEE_TERMINATION_EDIT: "employee/termination/edit"; - readonly EMPLOYEE_TERMINATION_RUN_PAYROLL: "employee/termination/runPayroll"; - readonly EMPLOYEE_TERMINATION_RUN_OFF_CYCLE_PAYROLL: "employee/termination/runOffCyclePayroll"; - readonly EMPLOYEE_TERMINATION_VIEW_SUMMARY: "employee/termination/viewSummary"; - readonly OFF_CYCLE_CREATED: "offCycle/created"; - readonly DISMISSAL_PAY_PERIOD_SELECTED: "dismissal/payPeriod/selected"; - readonly TRANSITION_CREATED: "transition/created"; - readonly RUN_TRANSITION_PAYROLL: "transition/runPayroll"; - readonly TRANSITION_PAYROLL_SKIPPED: "transition/payrollSkipped"; - readonly CONTRACTOR_PAYMENT_CREATE: "contractor/payments/create"; - readonly CONTRACTOR_PAYMENT_EDIT: "contractor/payments/edit"; - readonly CONTRACTOR_PAYMENT_UPDATE: "contractor/payments/update"; - readonly CONTRACTOR_PAYMENT_PREVIEW: "contractor/payments/preview"; - readonly CONTRACTOR_PAYMENT_BACK_TO_EDIT: "contractor/payments/backToEdit"; - readonly CONTRACTOR_PAYMENT_CREATED: "contractor/payments/created"; - readonly CONTRACTOR_PAYMENT_SUBMIT: "contractor/payments/submit"; - readonly CONTRACTOR_PAYMENT_VIEW: "contractor/payments/view"; - readonly CONTRACTOR_PAYMENT_VIEW_DETAILS: "contractor/payments/view/details"; - readonly CONTRACTOR_PAYMENT_CANCEL: "contractor/payments/cancel"; - readonly CONTRACTOR_PAYMENT_EXIT: "contractor/payments/exit"; - readonly CONTRACTOR_PAYMENT_RFI_RESPOND: "contractor/payments/rfi/respond"; - readonly RECOVERY_CASE_RESOLVE: "recoveryCase/resolve"; - readonly RECOVERY_CASE_RESUBMIT: "recoveryCase/resubmit"; - readonly RECOVERY_CASE_RESUBMIT_CANCEL: "recoveryCase/resubmit/cancel"; - readonly RECOVERY_CASE_RESUBMIT_DONE: "recoveryCase/resubmit/done"; - readonly INFORMATION_REQUEST_RESPOND: "informationRequest/respond"; - readonly INFORMATION_REQUEST_FORM_SUBMIT: "informationRequest/form/submit"; - readonly INFORMATION_REQUEST_FORM_CANCEL: "informationRequest/form/cancel"; - readonly INFORMATION_REQUEST_FORM_DONE: "informationRequest/form/done"; - readonly PAYROLL_WIRE_START_TRANSFER: "payroll/wire/startTransfer"; - readonly PAYROLL_WIRE_INSTRUCTIONS_DONE: "payroll/wire/instructions/done"; - readonly PAYROLL_WIRE_INSTRUCTIONS_CANCEL: "payroll/wire/instructions/cancel"; - readonly PAYROLL_WIRE_INSTRUCTIONS_SELECT: "payroll/wire/instructions/select"; - readonly PAYROLL_WIRE_FORM_DONE: "payroll/wire/form/done"; - readonly PAYROLL_WIRE_FORM_CANCEL: "payroll/wire/form/cancel"; - readonly RUN_PAYROLL_BACK: "runPayroll/back"; - readonly RUN_PAYROLL_CALCULATED: "runPayroll/calculated"; - readonly RUN_PAYROLL_CANCELLED: "runPayroll/cancelled"; - readonly RUN_PAYROLL_CANCELLED_ALERT_DISMISSED: "runPayroll/cancelled/alertDismissed"; - readonly RUN_PAYROLL_EDIT: "runPayroll/edit"; - readonly RUN_PAYROLL_EMPLOYEE_EDIT: "runPayroll/employee/edit"; - readonly RUN_PAYROLL_EMPLOYEE_SKIP: "runPayroll/employee/skip"; - readonly RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved"; - readonly RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled"; - readonly RUN_PAYROLL_SELECTED: "runPayroll/selected"; - readonly RUN_OFF_CYCLE_PAYROLL: "runPayroll/offCycle/start"; - readonly OFF_CYCLE_SELECT_REASON: "offCycle/selectReason"; - readonly OFF_CYCLE_DEDUCTIONS_CHANGE: "offCycle/deductionsChange"; - readonly RUN_PAYROLL_SUBMITTED: "runPayroll/submitted"; - readonly RUN_PAYROLL_SUBMITTING: "runPayroll/submitting"; - readonly RUN_PAYROLL_SUMMARY_VIEWED: "runPayroll/summary/viewed"; - readonly RUN_PAYROLL_RECEIPT_GET: "runPayroll/receipt/get"; - readonly RUN_PAYROLL_RECEIPT_VIEWED: "runPayroll/receipt/viewed"; - readonly RUN_PAYROLL_PROCESSED: "runPayroll/processed"; - readonly RUN_PAYROLL_PROCESSING_FAILED: "runPayroll/processingFailed"; - readonly RUN_PAYROLL_PDF_PAYSTUB_VIEWED: "runPayroll/pdfPaystub/viewed"; - readonly RUN_PAYROLL_BLOCKERS_DETECTED: "runPayroll/blockers/detected"; - readonly RUN_PAYROLL_BLOCKER_RESOLUTION_ATTEMPTED: "runPayroll/blocker/resolutionAttempted"; - readonly RUN_PAYROLL_BLOCKERS_VIEW_ALL: "runPayroll/blockers/viewAll"; - readonly RUN_PAYROLL_DATES_CONFIGURED: "runPayroll/dates/configured"; - readonly REVIEW_PAYROLL: "payroll/review"; - readonly PAYROLL_SKIPPED: "payroll/skipped"; - readonly PAYROLL_DELETED: "payroll/deleted"; - readonly PAYROLL_EXIT_FLOW: "payroll/saveAndExit"; - readonly RUN_PAYROLL_GROSS_UP_SELECTED: "runPayroll/grossUp/selected"; - readonly RUN_PAYROLL_GROSS_UP_CALCULATED: "runPayroll/grossUp/calculated"; - readonly CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated"; - readonly CONTRACTOR_ADDRESS_DONE: "contractor/address/done"; - readonly CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated"; - readonly CONTRACTOR_BANK_ACCOUNT_CREATED: "contractor/bankAccount/created"; - readonly CONTRACTOR_PAYMENT_METHOD_DONE: "contractor/paymentMethod/done"; - readonly CONTRACTOR_CREATE: "contractor/create"; - readonly CONTRACTOR_CREATED: "contractor/created"; - readonly CONTRACTOR_UPDATE: "contractor/update"; - readonly CONTRACTOR_UPDATED: "contractor/updated"; - readonly CONTRACTOR_DELETED: "contractor/deleted"; - readonly CONTRACTOR_PROFILE_DONE: "contractor/profile/done"; - readonly CONTRACTOR_NEW_HIRE_REPORT_UPDATED: "contractor/newHireReport/updated"; - readonly CONTRACTOR_NEW_HIRE_REPORT_DONE: "contractor/newHireReport/done"; - readonly CONTRACTOR_SUBMIT_DONE: "contractor/submit/done"; - readonly CONTRACTOR_ONBOARDING_STATUS_UPDATED: "contractor/onboardingStatus/updated"; - readonly CONTRACTOR_INVITE_CONTRACTOR: "contractor/invite/selfOnboarding"; - readonly CONTRACTOR_ONBOARDING_CONTINUE: "contractor/onboarding/continue"; - readonly PAY_SCHEDULE_CREATE: "paySchedule/create"; - readonly PAY_SCHEDULE_CREATED: "paySchedule/created"; - readonly PAY_SCHEDULE_UPDATE: "paySchedule/update"; - readonly PAY_SCHEDULE_UPDATED: "paySchedule/updated"; - readonly PAY_SCHEDULE_DELETE: "paySchedule/delete"; - readonly PAY_SCHEDULE_DELETED: "paySchedule/deleted"; - readonly PAY_SCHEDULE_DONE: "paySchedule/done"; - readonly COMPANY_INDUSTRY: "company/industry"; - readonly COMPANY_INDUSTRY_SELECTED: "company/industry/selected"; - readonly COMPANY_FEDERAL_TAXES_UPDATED: "company/federalTaxes/updated"; - readonly COMPANY_FEDERAL_TAXES_DONE: "company/federalTaxes/done"; - readonly COMPANY_SIGNATORY_CREATED: "company/signatory/created"; - readonly COMPANY_SIGNATORY_INVITED: "company/signatory/invited"; - readonly COMPANY_SIGNATORY_UPDATED: "company/signatory/updated"; - readonly COMPANY_CREATE_SIGNATORY_DONE: "company/signatory/createSignatory/done"; - readonly COMPANY_INVITE_SIGNATORY_DONE: "company/signatory/inviteSignatory/done"; - readonly COMPANY_ASSIGN_SIGNATORY_MODE_UPDATED: "company/signatory/assignSignatory/modeUpdated"; - readonly COMPANY_ASSIGN_SIGNATORY_DONE: "company/signatory/assignSignatory/done"; - readonly COMPANY_FORM_EDIT_SIGNATORY: "company/forms/editSignatory"; - readonly COMPANY_FORMS_DONE: "company/forms/done"; - readonly COMPANY_VIEW_FORM_TO_SIGN: "company/forms/view"; - readonly COMPANY_SIGN_FORM: "company/forms/sign/signForm"; - readonly COMPANY_SIGN_FORM_DONE: "company/forms/sign/done"; - readonly COMPANY_SIGN_FORM_BACK: "company/forms/sign/back"; - readonly COMPANY_LOCATION_CREATE: "company/location/add"; - readonly COMPANY_LOCATION_CREATED: "company/location/add/done"; - readonly COMPANY_LOCATION_EDIT: "company/location/edit"; - readonly COMPANY_LOCATION_UPDATED: "company/location/edit/done"; - readonly COMPANY_LOCATION_DONE: "company/location/done"; - readonly COMPANY_BANK_ACCOUNT_CHANGE: "company/bankAccount/change"; - readonly COMPANY_BANK_ACCOUNT_CANCEL: "company/bankAccount/cancel"; - readonly COMPANY_BANK_ACCOUNT_CREATED: "company/bankAccount/created"; - readonly COMPANY_BANK_ACCOUNT_VERIFY: "company/bankAccount/verify"; - readonly COMPANY_BANK_ACCOUNT_DONE: "company/bankAccount/done"; - readonly COMPANY_BANK_ACCOUNT_VERIFIED: "company/bankAccount/verified"; - readonly COMPANY_STATE_TAX_UPDATED: "company/stateTaxes/updated"; - readonly COMPANY_STATE_TAX_DONE: "company/stateTaxes/done"; - readonly COMPANY_STATE_TAX_EDIT: "company/stateTaxes/edit"; - readonly COMPANY_OVERVIEW_DONE: "company/overview/done"; - readonly COMPANY_OVERVIEW_CONTINUE: "company/overview/continue"; - readonly EMPLOYEE_CREATE: "employee/create"; - readonly EMPLOYEE_CREATED: "employee/created"; - readonly EMPLOYEE_UPDATE: "employee/update"; - readonly EMPLOYEE_UPDATED: "employee/updated"; - readonly EMPLOYEE_DELETED: "employee/deleted"; - readonly EMPLOYEE_DISMISS: "employee/dismiss"; - readonly EMPLOYEE_ONBOARDING_DONE: "employee/onboarding/done"; - readonly EMPLOYEE_PROFILE_DONE: "employee/profile/done"; - readonly EMPLOYEE_HOME_ADDRESS: "employee/addresses/home"; - readonly EMPLOYEE_HOME_ADDRESS_UPDATE: "employee/addresses/home/update"; - readonly EMPLOYEE_HOME_ADDRESS_CREATED: "employee/addresses/home/created"; - readonly EMPLOYEE_HOME_ADDRESS_UPDATED: "employee/addresses/home/updated"; - readonly EMPLOYEE_HOME_ADDRESS_DELETED: "employee/addresses/home/deleted"; - readonly EMPLOYEE_WORK_ADDRESS: "employee/addresses/work"; - readonly EMPLOYEE_WORK_ADDRESS_UPDATE: "employee/addresses/work/update"; - readonly EMPLOYEE_WORK_ADDRESS_CREATED: "employee/addresses/work/created"; - readonly EMPLOYEE_WORK_ADDRESS_UPDATED: "employee/addresses/work/updated"; - readonly EMPLOYEE_WORK_ADDRESS_DELETED: "employee/addresses/work/deleted"; - readonly EMPLOYEE_DEDUCTION_ADD: "employee/deductions/add"; - readonly EMPLOYEE_DEDUCTION_CREATED: "employee/deductions/created"; - readonly EMPLOYEE_DEDUCTION_UPDATED: "employee/deductions/updated"; - readonly EMPLOYEE_DEDUCTION_DELETED: "employee/deductions/deleted"; - readonly EMPLOYEE_DEDUCTION_DELETED_EMPTY: "employee/deductions/deletedEmpty"; - readonly EMPLOYEE_DEDUCTION_DONE: "employee/deductions/done"; - readonly EMPLOYEE_DEDUCTION_EDIT: "employee/deductions/edit"; - readonly EMPLOYEE_DEDUCTION_CANCEL: "employee/deductions/cancel"; - readonly EMPLOYEE_DEDUCTION_CANCEL_EMPTY: "employee/deductions/cancelEmpty"; - readonly EMPLOYEE_DEDUCTION_INCLUDE_YES: "employee/deductions/include/yes"; - readonly EMPLOYEE_DEDUCTION_INCLUDE_NO: "employee/deductions/include/no"; - readonly EMPLOYEE_COMPENSATION_CREATE: "employee/compensations/create"; - readonly EMPLOYEE_COMPENSATION_CREATED: "employee/compensations/created"; - readonly EMPLOYEE_COMPENSATION_UPDATED: "employee/compensations/updated"; - readonly EMPLOYEE_COMPENSATION_DONE: "employee/compensations/done"; - readonly EMPLOYEE_COMPENSATION_CANCEL: "employee/compensations/cancel"; - readonly EMPLOYEE_COMPENSATION_CHANGE_CANCELLED: "employee/compensations/changeCancelled"; - readonly EMPLOYEE_COMPENSATION_RETURN_TO_LIST: "employee/compensations/returnToList"; - readonly EMPLOYEE_JOB_ADD: "employee/job/add"; - readonly EMPLOYEE_JOB_ADD_ANOTHER: "employee/job/addAnother"; - readonly EMPLOYEE_JOB_EDIT: "employee/job/edit"; - readonly EMPLOYEE_PAYMENT_METHOD_UPDATED: "employee/paymentMethod/updated"; - readonly EMPLOYEE_PAYMENT_METHOD_DONE: "employee/paymentMethod/done"; - readonly EMPLOYEE_PAYMENT_METHOD_RESET: "employee/paymentMethod/reset"; - readonly EMPLOYEE_SPLIT_PAYMENT: "employee/paymentMethod/split"; - readonly EMPLOYEE_BANK_ACCOUNT_CREATE: "employee/bankAccount/create"; - readonly EMPLOYEE_BANK_ACCOUNT_CREATED: "employee/bankAccount/created"; - readonly EMPLOYEE_BANK_ACCOUNT_DELETED: "employee/bankAccount/deleted"; - readonly EMPLOYEE_FEDERAL_TAXES_EDIT: "employee/federalTaxes/edit"; - readonly EMPLOYEE_FEDERAL_TAXES_UPDATED: "employee/federalTaxes/updated"; - readonly EMPLOYEE_FEDERAL_TAXES_DONE: "employee/federalTaxes/done"; - readonly EMPLOYEE_STATE_TAXES_EDIT: "employee/stateTaxes/edit"; - readonly EMPLOYEE_STATE_TAXES_UPDATED: "employee/stateTaxes/updated"; - readonly EMPLOYEE_STATE_TAXES_DONE: "employee/stateTaxes/done"; - readonly EMPLOYEE_TAXES_DONE: "employee/taxes/done"; - readonly EMPLOYEE_SPLIT_PAYCHECK: "employee/bankAccount/split"; - readonly EMPLOYEE_JOB_CREATED: "employee/job/created"; - readonly EMPLOYEE_JOB_UPDATED: "employee/job/updated"; - readonly EMPLOYEE_JOB_DELETED: "employee/job/deleted"; - readonly EMPLOYEE_SUMMARY_VIEW: "employee/summary"; - readonly EMPLOYEES_LIST: "company/employees"; - readonly EMPLOYEE_SELF_ONBOARDING_START: "employee/selfOnboarding/start"; - readonly EMPLOYEE_VIEW_FORM_TO_SIGN: "employee/forms/view"; - readonly EMPLOYEE_SIGN_FORM: "employee/forms/sign"; - readonly EMPLOYEE_FORMS_DONE: "employee/forms/done"; - readonly EMPLOYEE_ONBOARDING_STATUS_UPDATED: "employee/onboardingStatus/updated"; - readonly EMPLOYEE_EMPLOYMENT_ELIGIBILITY_DONE: "employee/employmentEligibility/done"; - readonly EMPLOYEE_CHANGE_ELIGIBILITY_STATUS: "employee/employmentEligibility/change"; - readonly EMPLOYEE_ONBOARDING_DOCUMENTS_CONFIG_UPDATED: "employee/onboardingDocumentsConfig/updated"; - readonly EMPLOYEE_DOCUMENTS_DONE: "employee/documents/done"; - readonly EMPLOYEE_REHIRE: "employee/rehire"; - readonly EMPLOYEE_DASHBOARD_TAB_CHANGE: "employee/dashboard/tabChange"; - readonly EMPLOYEE_RETURN_TO_LIST: "employee/returnToList"; - readonly ROBOT_MACHINE_DONE: "done"; - readonly ERROR: "ERROR"; - readonly CANCEL: "CANCEL"; - readonly BREADCRUMB_NAVIGATE: "breadcrumb/navigate"; -}; - -// Warning: (ae-missing-release-tag) "ComponentsContextType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ComponentsContextType { - // (undocumented) - Alert: (props: AlertProps) => JSX.Element | null; - // (undocumented) - Badge: (props: BadgeProps) => JSX.Element | null; - // (undocumented) - Banner: (props: BannerProps) => JSX.Element | null; - // (undocumented) - Box: (props: BoxProps) => JSX.Element | null; - // (undocumented) - BoxHeader: (props: BoxHeaderProps) => JSX.Element | null; - // (undocumented) - Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element | null; - // (undocumented) - Button: (props: ButtonProps) => JSX.Element | null; - // (undocumented) - ButtonIcon: (props: ButtonIconProps) => JSX.Element | null; - // (undocumented) - CalendarPreview: (props: CalendarPreviewProps) => JSX.Element | null; - // (undocumented) - Card: (props: CardProps) => JSX.Element | null; - // (undocumented) - Checkbox: (props: CheckboxProps) => JSX.Element | null; - // (undocumented) - CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element | null; - // (undocumented) - ComboBox: (props: ComboBoxProps) => JSX.Element | null; - // (undocumented) - DatePicker: (props: DatePickerProps) => JSX.Element | null; - // Warning: (ae-forgotten-export) The symbol "DateRangePickerProps" needs to be exported by the entry point index.d.ts - // - // (undocumented) - DateRangePicker: (props: DateRangePickerProps) => JSX.Element | null; - // (undocumented) - DescriptionList: (props: DescriptionListProps) => JSX.Element | null; - // (undocumented) - Dialog: (props: DialogProps) => JSX.Element | null; - // (undocumented) - FileInput: (props: FileInputProps) => JSX.Element | null; - // (undocumented) - Heading: (props: HeadingProps) => JSX.Element | null; - // (undocumented) - Link: (props: LinkProps) => JSX.Element | null; - // (undocumented) - LoadingSpinner: (props: LoadingSpinnerProps) => JSX.Element | null; - // (undocumented) - Menu: (props: MenuProps) => JSX.Element | null; - // (undocumented) - Modal: (props: ModalProps) => JSX.Element | null; - // Warning: (ae-forgotten-export) The symbol "MultiSelectComboBoxProps" needs to be exported by the entry point index.d.ts - // - // (undocumented) - MultiSelectComboBox: (props: MultiSelectComboBoxProps) => JSX.Element | null; - // (undocumented) - NumberInput: (props: NumberInputProps) => JSX.Element | null; - // (undocumented) - OrderedList: (props: OrderedListProps) => JSX.Element | null; - // (undocumented) - PaginationControl?: (props: PaginationControlProps) => JSX.Element | null; - // (undocumented) - PayrollLoading?: (props: PayrollLoadingProps) => JSX.Element | null; - // (undocumented) - ProgressBar: (props: ProgressBarProps) => JSX.Element | null; - // (undocumented) - Radio: (props: RadioProps) => JSX.Element | null; - // (undocumented) - RadioGroup: (props: RadioGroupProps) => JSX.Element | null; - // (undocumented) - Select: (props: SelectProps) => JSX.Element | null; - // (undocumented) - Switch: (props: SwitchProps) => JSX.Element | null; - // (undocumented) - Table: (props: TableProps) => JSX.Element | null; - // (undocumented) - Tabs: (props: TabsProps) => JSX.Element | null; - // (undocumented) - Text: (props: TextProps) => JSX.Element | null; - // (undocumented) - TextArea: (props: TextAreaProps) => JSX.Element | null; - // (undocumented) - TextInput: (props: TextInputProps) => JSX.Element | null; - // (undocumented) - UnorderedList: (props: UnorderedListProps) => JSX.Element | null; -} - -// Warning: (ae-missing-release-tag) "composeErrorHandler" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function composeErrorHandler(sources: MixedErrorSource[], submitState?: SubmitStateForErrorHandling): HookErrorHandling; - -// Warning: (ae-forgotten-export) The symbol "ComposeSubmitInput" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "ComposeSubmitHandlerResult" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "composeSubmitHandler" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function composeSubmitHandler(forms: readonly [...{ - [K in keyof TForms]: ComposeSubmitInput; -}], onAllValid: () => Promise): ComposeSubmitHandlerResult; - -// Warning: (ae-missing-release-tag) "ConfirmSignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ConfirmSignatureFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "ConfirmWireDetailsInternalProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "ConfirmWireDetails" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function ConfirmWireDetails(input: ConfirmWireDetailsInternalProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "ConfirmWireDetailsComponentType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ConfirmWireDetailsComponentType = ComponentType; - -// Warning: (ae-missing-release-tag) "ConfirmWireDetailsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ConfirmWireDetailsProps { - // (undocumented) - companyId: string; - // (undocumented) - onEvent?: BaseComponentInterface['onEvent']; - // (undocumented) - wireInId?: string; -} - -declare namespace Contractor { - export { - PaymentMethod, - Address, - ContractorList, - NewHireReport, - ContractorSubmit, - ContractorProfile, - OnboardingFlow_2 as OnboardingFlow, - PaymentFlow, - PaymentsList, - CreatePayment, - PaymentHistory, - PaymentSummary, - PaymentStatement - } -} - -// Warning: (ae-forgotten-export) The symbol "ContractorListProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "ContractorList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function ContractorList(props: ContractorListProps & BaseComponentInterface): JSX_2.Element; - -declare namespace ContractorOnboarding { - export { - OnboardingFlow_2 as OnboardingFlow, - ContractorList, - ContractorProfile, - Address, - PaymentMethod, - NewHireReport, - ContractorSubmit - } -} - -// Warning: (ae-forgotten-export) The symbol "ContractorProfileProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "ContractorProfile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function ContractorProfile(props: ContractorProfileProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "ContractorSubmitProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "ContractorSubmit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function ContractorSubmit(props: ContractorSubmitProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "CountyEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CountyEntry = { - fipsCode: string; - county: string | null; -}; - -// Warning: (ae-missing-release-tag) "CourtesyWithholdingFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CourtesyWithholdingFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "BankFormSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "BuildFormSchemaResult" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createBankFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createBankFormSchema(options?: BankFormSchemaOptions): BuildFormSchemaResult< { -name: z.ZodString; -routingNumber: z.ZodString; -accountNumber: z.ZodString; -accountType: z.ZodEnum<{ -Checking: "Checking"; -Savings: "Savings"; -}>; -}>; - -// Warning: (ae-forgotten-export) The symbol "ChildSupportGarnishmentFormSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createChildSupportGarnishmentFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createChildSupportGarnishmentFormSchema(input?: ChildSupportGarnishmentFormSchemaOptions): BuildFormSchemaResult< { -state: z.ZodString; -fipsCode: z.ZodString; -caseNumber: z.ZodString; -orderNumber: z.ZodString; -remittanceNumber: z.ZodString; -payPeriodMaximum: z.ZodPipe, z.ZodNumber>; -amount: z.ZodPipe, z.ZodNumber>; -paymentPeriod: z.ZodEnum<{ -readonly EveryWeek: "Every week"; -readonly EveryOtherWeek: "Every other week"; -readonly TwicePerMonth: "Twice per month"; -readonly Monthly: "Monthly"; -}>; -}>; - -// Warning: (ae-missing-release-tag) "createCompensationSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createCompensationSchema(options?: CompensationSchemaOptions): BuildFormSchemaResult< { -title: z.ZodString; -flsaStatus: z.ZodOptional>; -paymentUnit: z.ZodEnum<{ -Hour: "Hour"; -Week: "Week"; -Month: "Month"; -Year: "Year"; -Paycheck: "Paycheck"; -}>; -rate: z.ZodPipe, z.ZodNumber>; -effectiveDate: z.ZodPipe, z.ZodNullable>; -adjustForMinimumWage: z.ZodBoolean; -minimumWageId: z.ZodString; -}>; - -// Warning: (ae-forgotten-export) The symbol "DeductionFormSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createDeductionFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createDeductionFormSchema(options: DeductionFormSchemaOptions): BuildFormSchemaResult< { -description: z.ZodString; -recurring: z.ZodPipe, z.ZodBoolean>; -deductAsPercentage: z.ZodPipe, z.ZodBoolean>; -amount: z.ZodPipe, z.ZodNumber>; -totalAmount: z.ZodPipe, z.ZodNumber>; -annualMaximum: z.ZodPipe, z.ZodNumber>; -garnishmentType: z.ZodEnum<{ -readonly ChildSupport: "child_support"; -readonly FederalTaxLien: "federal_tax_lien"; -readonly StateTaxLien: "state_tax_lien"; -readonly StudentLoan: "student_loan"; -readonly CreditorGarnishment: "creditor_garnishment"; -readonly FederalLoan: "federal_loan"; -readonly OtherGarnishment: "other_garnishment"; -}>; -}>; - -// Warning: (ae-forgotten-export) The symbol "EmployeeDetailsSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createEmployeeDetailsSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createEmployeeDetailsSchema(options?: EmployeeDetailsSchemaOptions): BuildFormSchemaResult< { -firstName: z.ZodString; -middleInitial: z.ZodString; -lastName: z.ZodString; -email: z.ZodEmail; -dateOfBirth: z.ZodISODate; -ssn: z.ZodString; -selfOnboarding: z.ZodBoolean; -}>; - -// Warning: (ae-forgotten-export) The symbol "EmployeeStateTaxesSchemaResult" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createEmployeeStateTaxesSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function createEmployeeStateTaxesSchema(employeeStateTaxes: EmployeeStateTaxesList[], options?: EmployeeStateTaxesSchemaOptions): EmployeeStateTaxesSchemaResult; - -// Warning: (ae-forgotten-export) The symbol "FederalTaxesSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createFederalTaxesSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createFederalTaxesSchema(options?: FederalTaxesSchemaOptions): BuildFormSchemaResult< { -filingStatus: z.ZodString; -twoJobs: z.ZodPipe, z.ZodBoolean>; -dependentsAmount: z.ZodPipe, z.ZodNumber>; -otherIncome: z.ZodPipe, z.ZodNumber>; -deductions: z.ZodPipe, z.ZodNumber>; -extraWithholding: z.ZodPipe, z.ZodNumber>; -}>; - -// Warning: (ae-forgotten-export) The symbol "HomeAddressSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createHomeAddressSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createHomeAddressSchema(options?: HomeAddressSchemaOptions): BuildFormSchemaResult< { -street1: z.ZodString; -street2: z.ZodString; -city: z.ZodString; -state: z.ZodString; -zip: z.ZodString; -courtesyWithholding: z.ZodBoolean; -effectiveDate: z.ZodISODate; -}>; - -// Warning: (ae-forgotten-export) The symbol "JobSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createJobSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createJobSchema(options?: JobSchemaOptions): BuildFormSchemaResult< { -title: z.ZodString; -hireDate: z.ZodPipe, z.ZodNullable>; -twoPercentShareholder: z.ZodBoolean; -stateWcCovered: z.ZodPipe, z.ZodBoolean>; -stateWcClassCode: z.ZodString; -}>; - -// Warning: (ae-forgotten-export) The symbol "CreatePaymentProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "CreatePayment" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function CreatePayment(props: CreatePaymentProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PaymentMethodFormSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createPaymentMethodFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createPaymentMethodFormSchema(options?: PaymentMethodFormSchemaOptions): BuildFormSchemaResult< { -type: z.ZodEnum<{ -Check: "Check"; -"Direct Deposit": "Direct Deposit"; -}>; -}>; - -// Warning: (ae-forgotten-export) The symbol "PayScheduleSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createPayScheduleSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createPayScheduleSchema(options?: PayScheduleSchemaOptions): BuildFormSchemaResult< { -customName: z.ZodString; -frequency: z.ZodEnum<{ -"Every week": "Every week"; -"Every other week": "Every other week"; -"Twice per month": "Twice per month"; -Monthly: "Monthly"; -}>; -customTwicePerMonth: z.ZodString; -anchorPayDate: z.ZodPipe, z.ZodNullable>; -anchorEndOfPayPeriod: z.ZodPipe, z.ZodNullable>; -day1: z.ZodPipe, z.ZodNumber>; -day2: z.ZodPipe, z.ZodNumber>; -}>; - -// Warning: (ae-forgotten-export) The symbol "CreateSignatoryProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "CreateSignatory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function CreateSignatory(props: CreateSignatoryProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "SignCompanyFormSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createSignCompanyFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createSignCompanyFormSchema(options?: SignCompanyFormSchemaOptions): BuildFormSchemaResult< { -signature: z.ZodString; -confirmSignature: z.ZodBoolean; -}>; - -// Warning: (ae-forgotten-export) The symbol "SignEmployeeFormSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createSignEmployeeFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createSignEmployeeFormSchema(options?: SignEmployeeFormSchemaOptions): BuildFormSchemaResult< { -signature: z.ZodString; -confirmSignature: z.ZodBoolean; -usedPreparer: z.ZodEnum<{ -yes: "yes"; -no: "no"; -}>; -preparerFirstName: z.ZodString; -preparerLastName: z.ZodString; -preparerStreet1: z.ZodString; -preparerStreet2: z.ZodString; -preparerCity: z.ZodString; -preparerState: z.ZodString; -preparerZip: z.ZodString; -preparerSignature: z.ZodString; -preparerAgree: z.ZodBoolean; -preparer2FirstName: z.ZodString; -preparer2LastName: z.ZodString; -preparer2Street1: z.ZodString; -preparer2Street2: z.ZodString; -preparer2City: z.ZodString; -preparer2State: z.ZodString; -preparer2Zip: z.ZodString; -preparer2Signature: z.ZodString; -preparer2Agree: z.ZodBoolean; -preparer3FirstName: z.ZodString; -preparer3LastName: z.ZodString; -preparer3Street1: z.ZodString; -preparer3Street2: z.ZodString; -preparer3City: z.ZodString; -preparer3State: z.ZodString; -preparer3Zip: z.ZodString; -preparer3Signature: z.ZodString; -preparer3Agree: z.ZodBoolean; -preparer4FirstName: z.ZodString; -preparer4LastName: z.ZodString; -preparer4Street1: z.ZodString; -preparer4Street2: z.ZodString; -preparer4City: z.ZodString; -preparer4State: z.ZodString; -preparer4Zip: z.ZodString; -preparer4Signature: z.ZodString; -preparer4Agree: z.ZodBoolean; -}>; - -// Warning: (ae-forgotten-export) The symbol "SplitPaymentsFormSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createSplitPaymentsFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createSplitPaymentsFormSchema(options?: SplitPaymentsFormSchemaOptions): BuildFormSchemaResult< { -splitBy: z.ZodEnum<{ -Percentage: "Percentage"; -Amount: "Amount"; -}>; -splitAmount: z.ZodRecord, z.ZodNullable>>; -priority: z.ZodRecord; -}>; - -// Warning: (ae-missing-release-tag) "createStateFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createStateFields(employeeStateTaxes: EmployeeStateTaxesList[], options: CreateStateFieldsOptions): StateTaxFieldsGroup[]; - -// Warning: (ae-missing-release-tag) "CreateStateFieldsOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface CreateStateFieldsOptions { - // (undocumented) - isAdmin: boolean; -} - -// Warning: (ae-forgotten-export) The symbol "WorkAddressSchemaOptions" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "createWorkAddressSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function createWorkAddressSchema(options?: WorkAddressSchemaOptions): BuildFormSchemaResult< { -locationUuid: z.ZodString; -effectiveDate: z.ZodISODate; -}>; - -// Warning: (ae-forgotten-export) The symbol "BaseStateTaxFieldProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "CurrencyStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CurrencyStateTaxFieldProps = BaseStateTaxFieldProps & { - FieldComponent?: ComponentType; -}; - -// Warning: (ae-missing-release-tag) "CustomNameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CustomNameFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "CustomTwicePerMonthFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type CustomTwicePerMonthFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "DashboardFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const DashboardFlow: (input: DashboardFlowProps) => JSX_2.Element; - -// Warning: (ae-missing-release-tag) "DashboardFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface DashboardFlowProps extends BaseComponentInterface { - // (undocumented) - employeeId: string; -} - -// Warning: (ae-missing-release-tag) "DateOfBirthFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DateOfBirthFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "DatePickerHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function DatePickerHookField(input: DatePickerHookFieldProps): ReactElement>; - -// Warning: (ae-missing-release-tag) "DatePickerHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface DatePickerHookFieldProps extends BaseFieldProps, Pick { - // (undocumented) - FieldComponent?: ComponentType; - // (undocumented) - formHookResult?: FormHookResult; - // (undocumented) - name: string; - portalContainer?: DatePickerProps['portalContainer']; - // (undocumented) - validationMessages?: ValidationMessages; -} - -// Warning: (ae-missing-release-tag) "DatePickerProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface DatePickerProps extends SharedFieldLayoutProps, Pick, 'className' | 'id' | 'name'> { - inputRef?: Ref; - isDateDisabled?: (date: Date) => boolean; - isDisabled?: boolean; - isInvalid?: boolean; - label: string; - maxDate?: Date; - minDate?: Date; - onBlur?: () => void; - onChange?: (value: Date | null) => void; - placeholder?: string; - portalContainer?: HTMLElement; - value?: Date | null; -} - -// Warning: (ae-missing-release-tag) "DateStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DateStateTaxFieldProps = BaseStateTaxFieldProps & { - FieldComponent?: ComponentType; -}; - -// Warning: (ae-missing-release-tag) "Day1FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type Day1FieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "Day2FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type Day2FieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "DayValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DayValidation = (typeof PayScheduleErrorCodes)['REQUIRED' | 'DAY_RANGE']; - -// Warning: (ae-missing-release-tag) "DeductAsPercentageFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductAsPercentageFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "AmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionAmountFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "AmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionFormAmountValidation = DeductionFormRequiredValidation | DeductionFormNegativeAmountValidation; - -// Warning: (ae-missing-release-tag) "CapValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionFormCapValidation = DeductionFormNegativeAmountValidation; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "DeductionFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionFormData = { - [K in keyof typeof fieldValidators]: z.infer<(typeof fieldValidators)[K]>; -}; - -// Warning: (ae-missing-release-tag) "DeductionFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionFormErrorCode = (typeof DeductionFormErrorCodes)[keyof typeof DeductionFormErrorCodes]; - -// Warning: (ae-missing-release-tag) "DeductionFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const DeductionFormErrorCodes: { - readonly REQUIRED: "REQUIRED"; - readonly NEGATIVE_AMOUNT: "NEGATIVE_AMOUNT"; -}; - -// Warning: (ae-missing-release-tag) "DeductionFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface DeductionFormFields { - // Warning: (ae-forgotten-export) The symbol "AmountField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Amount: typeof AmountField; - // Warning: (ae-forgotten-export) The symbol "AnnualMaximumField" needs to be exported by the entry point index.d.ts - AnnualMaximum: typeof AnnualMaximumField | undefined; - // Warning: (ae-forgotten-export) The symbol "DeductAsPercentageField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - DeductAsPercentage: typeof DeductAsPercentageField; - // Warning: (ae-forgotten-export) The symbol "DescriptionField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Description: typeof DescriptionField; - // Warning: (ae-forgotten-export) The symbol "GarnishmentTypeField" needs to be exported by the entry point index.d.ts - GarnishmentType: typeof GarnishmentTypeField | undefined; - // Warning: (ae-forgotten-export) The symbol "RecurringField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Recurring: typeof RecurringField; - // Warning: (ae-forgotten-export) The symbol "TotalAmountField" needs to be exported by the entry point index.d.ts - TotalAmount: typeof TotalAmountField | undefined; -} - -// Warning: (ae-missing-release-tag) "DeductionFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionFormFieldsMetadata = UseDeductionFormReady['form']['fieldsMetadata']; - -// Warning: (ae-missing-release-tag) "NegativeAmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionFormNegativeAmountValidation = typeof DeductionFormErrorCodes.NEGATIVE_AMOUNT; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "DeductionFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionFormOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "DeductionFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionFormOutputs = DeductionFormData; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionFormRequiredValidation = typeof DeductionFormErrorCodes.REQUIRED; - -// Warning: (ae-forgotten-export) The symbol "DeductionsProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "Deductions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function Deductions(input: DeductionsProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "DeductionsFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DeductionsFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "DependentsAmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DependentsAmountFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "DescriptionFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type DescriptionFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "DescriptionListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface DescriptionListProps { - // (undocumented) - className?: string; - // Warning: (ae-forgotten-export) The symbol "DescriptionListItem" needs to be exported by the entry point index.d.ts - // - // (undocumented) - items: DescriptionListItem[]; - // (undocumented) - layout?: 'stacked' | 'horizontal'; - // (undocumented) - showSeparators?: boolean; -} - -// Warning: (ae-missing-release-tag) "DialogProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface DialogProps { - children?: ReactNode; - closeActionLabel: string; - isDestructive?: boolean; - isOpen?: boolean; - isPrimaryActionLoading?: boolean; - onClose?: () => void; - onPrimaryActionClick?: () => void; - primaryActionLabel: string; - shouldCloseOnBackdropClick?: boolean; - title?: ReactNode; -} - -// Warning: (ae-missing-release-tag) "DismissalFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function DismissalFlow(input: DismissalFlowProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "FlowContextInterface" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "DismissalFlowContextInterface" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface DismissalFlowContextInterface extends FlowContextInterface { - // (undocumented) - companyId: string; - // (undocumented) - employeeId?: string; - // (undocumented) - payrollUuid?: string; -} - -// Warning: (ae-missing-release-tag) "DismissalFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface DismissalFlowProps { - // (undocumented) - companyId: string; - // (undocumented) - employeeId?: string; - // Warning: (ae-forgotten-export) The symbol "OnEventType" needs to be exported by the entry point index.d.ts - // Warning: (ae-forgotten-export) The symbol "EventType" needs to be exported by the entry point index.d.ts - // - // (undocumented) - onEvent: OnEventType; - // (undocumented) - payrollId?: string; -} - -// Warning: (ae-forgotten-export) The symbol "DocumentListProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "DocumentList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function DocumentList(props: DocumentListProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "DocumentManagerProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "DocumentManager" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function DocumentManager(props: DocumentManagerProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "DocumentSignerProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "DocumentSigner" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function DocumentSigner(props: DocumentSignerProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "DocumentSignerProps_2" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "DocumentSigner" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function DocumentSigner_2(props: DocumentSignerProps_2): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "EffectiveDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EffectiveDateFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "EmailFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmailFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "EmailValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmailValidation = (typeof EmployeeDetailsErrorCodes)['REQUIRED' | 'INVALID_EMAIL' | 'EMAIL_REQUIRED_FOR_SELF_ONBOARDING']; - -declare namespace Employee { - export { - EmployeeList, - Deductions, - OnboardingSummary, - Profile, - Compensation_2 as Compensation, - FederalTaxes_2 as FederalTaxes, - FederalTaxesProps_2 as FederalTaxesProps, - StateTaxes_2 as StateTaxes, - PaymentMethod_2 as PaymentMethod, - Landing, - DocumentSigner_2 as DocumentSigner, - OnboardingFlow_3 as OnboardingFlow, - SelfOnboardingFlow, - EmployeeDocuments, - DashboardFlow, - DashboardFlowProps, - EmployeeListFlow, - EmployeeListFlowProps, - HomeAddress, - HomeAddressProps, - EmploymentEligibility, - EmploymentEligibilityProps, - TerminateEmployee, - TerminateEmployeeProps, - TerminationSummary, - TerminationSummaryProps, - TerminationFlow, - TerminationFlowProps, - PayrollOption, - WorkAddress, - WorkAddressProps, - Taxes - } -} - -// Warning: (ae-missing-release-tag) "EmployeeDetailsErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeDetailsErrorCode = (typeof EmployeeDetailsErrorCodes)[keyof typeof EmployeeDetailsErrorCodes]; - -// Warning: (ae-missing-release-tag) "EmployeeDetailsErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const EmployeeDetailsErrorCodes: { - readonly REQUIRED: "REQUIRED"; - readonly INVALID_NAME: "INVALID_NAME"; - readonly INVALID_EMAIL: "INVALID_EMAIL"; - readonly INVALID_SSN: "INVALID_SSN"; - readonly EMAIL_REQUIRED_FOR_SELF_ONBOARDING: "EMAIL_REQUIRED_FOR_SELF_ONBOARDING"; -}; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_5" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "EmployeeDetailsField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeDetailsField = Exclude; - -// Warning: (ae-missing-release-tag) "EmployeeDetailsFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeDetailsFieldsMetadata = UseEmployeeDetailsFormReady['form']['fieldsMetadata']; - -// Warning: (ae-missing-release-tag) "EmployeeDetailsFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeDetailsFormData = { - [K in keyof typeof fieldValidators_5]: z.infer<(typeof fieldValidators_5)[K]>; -}; - -// Warning: (ae-missing-release-tag) "EmployeeDetailsFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeDetailsFormFields = UseEmployeeDetailsFormReady['form']['Fields']; - -// Warning: (ae-missing-release-tag) "EmployeeDetailsFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeDetailsFormOutputs = EmployeeDetailsFormData; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_4" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "EmployeeDetailsOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeDetailsOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeDetailsRequiredValidation = typeof EmployeeDetailsErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "EmployeeDetailsSubmitCallbacks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface EmployeeDetailsSubmitCallbacks { - // (undocumented) - onEmployeeCreated?: (employee: Employee_2) => void; - // (undocumented) - onEmployeeUpdated?: (employee: Employee_2) => void; - // (undocumented) - onOnboardingStatusUpdated?: (status: unknown) => void; -} - -// Warning: (ae-forgotten-export) The symbol "EmployeeDocumentsProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "EmployeeDocuments" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function EmployeeDocuments(props: EmployeeDocumentsProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "EmployeeListProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "EmployeeList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function EmployeeList(input: EmployeeListProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "EmployeeListFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const EmployeeListFlow: (input: EmployeeListFlowProps) => JSX_2.Element; - -// Warning: (ae-missing-release-tag) "EmployeeListFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface EmployeeListFlowProps extends BaseComponentInterface { - // (undocumented) - companyId: string; -} - -declare namespace EmployeeManagement { - export { - ManagementEmployeeList as EmployeeList, - EmployeeListFlow, - EmployeeListFlowProps, - EmployeeDocuments, - DocumentManager, - DashboardFlow, - WorkAddress, - WorkAddressProps, - FederalTaxes_2 as FederalTaxes, - FederalTaxesProps_2 as FederalTaxesProps, - StateTaxes_2 as StateTaxes, - StateTaxesProps_2 as StateTaxesProps, - Profile_2 as Profile, - ProfileProps_2 as ProfileProps, - PaymentMethod_3 as PaymentMethod, - PaymentMethodProps_3 as PaymentMethodProps, - TerminateEmployee, - TerminationSummary, - TerminationFlow - } -} - -declare namespace EmployeeOnboarding { - export { - OnboardingFlow_3 as OnboardingFlow, - SelfOnboardingFlow, - EmployeeList, - OnboardingSummary, - Landing, - DocumentSigner_2 as DocumentSigner, - EmploymentEligibility, - Profile, - Compensation_2 as Compensation, - FederalTaxes_3 as FederalTaxes, - FederalTaxesProps_3 as FederalTaxesProps, - StateTaxes_3 as StateTaxes, - StateTaxesProps_3 as StateTaxesProps, - Deductions, - PaymentMethod_2 as PaymentMethod, - PaymentMethodProps_2 as PaymentMethodProps, - Taxes - } -} - -// Warning: (ae-missing-release-tag) "EmployeeStateTaxesErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeStateTaxesErrorCode = (typeof EmployeeStateTaxesErrorCodes)[keyof typeof EmployeeStateTaxesErrorCodes]; - -// Warning: (ae-missing-release-tag) "EmployeeStateTaxesErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export const EmployeeStateTaxesErrorCodes: { - readonly REQUIRED: "REQUIRED"; -}; - -// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeStateTaxesFieldsMetadata = UseEmployeeStateTaxesFormReady['form']['fieldsMetadata']; - -// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface EmployeeStateTaxesFormData { - // (undocumented) - states: Record>; -} - -// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeStateTaxesFormFields = UseEmployeeStateTaxesFormReady['form']['Fields']; - -// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type EmployeeStateTaxesFormOutputs = EmployeeStateTaxesFormData; - -// Warning: (ae-forgotten-export) The symbol "FieldsMetadataConfig" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "EmployeeStateTaxesMetadataConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface EmployeeStateTaxesMetadataConfig extends FieldsMetadataConfig> { - groups: Array<{ - state: string; - isWorkState: boolean; - questions: EmployeeStateTaxesQuestionMeta[]; - }>; -} - -// Warning: (ae-missing-release-tag) "EmployeeStateTaxesQuestionMeta" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface EmployeeStateTaxesQuestionMeta { - // (undocumented) - apiKey: string; - // (undocumented) - formKey: string; - // (undocumented) - isAdminOnly: boolean; - // (undocumented) - isWireSelectWithBooleanOptions: boolean; - // (undocumented) - isWorkState: boolean; - // (undocumented) - state: string; - // (undocumented) - variant: StateTaxQuestionVariant; -} - -// Warning: (ae-missing-release-tag) "EmployeeStateTaxesSchemaOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface EmployeeStateTaxesSchemaOptions { - // (undocumented) - isAdmin?: boolean; -} - -// Warning: (ae-missing-release-tag) "EmploymentEligibility" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function EmploymentEligibility(props: EmploymentEligibilityProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "EmploymentEligibilityProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface EmploymentEligibilityProps extends BaseComponentInterface<'Employee.EmploymentEligibility'> { - // (undocumented) - employeeId: string; -} - -// Warning: (ae-missing-release-tag) "ExtraWithholdingFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ExtraWithholdingFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "FederalTaxesProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "FederalTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function FederalTaxes(props: FederalTaxesProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "FederalTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function FederalTaxes_2(input: FederalTaxesProps_2 & Pick): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "FederalTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function FederalTaxes_3(input: FederalTaxesProps_3 & Pick): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "FederalTaxesErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FederalTaxesErrorCode = (typeof FederalTaxesErrorCodes)[keyof typeof FederalTaxesErrorCodes]; - -// Warning: (ae-missing-release-tag) "FederalTaxesErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const FederalTaxesErrorCodes: { - readonly REQUIRED: "REQUIRED"; -}; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_11" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "FederalTaxesField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FederalTaxesField = keyof typeof fieldValidators_11; - -// Warning: (ae-missing-release-tag) "FederalTaxesFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface FederalTaxesFields { - // Warning: (ae-forgotten-export) The symbol "DeductionsField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Deductions: typeof DeductionsField; - // Warning: (ae-forgotten-export) The symbol "DependentsAmountField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - DependentsAmount: typeof DependentsAmountField; - // Warning: (ae-forgotten-export) The symbol "ExtraWithholdingField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - ExtraWithholding: typeof ExtraWithholdingField; - // Warning: (ae-forgotten-export) The symbol "FilingStatusField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - FilingStatus: typeof FilingStatusField; - // Warning: (ae-forgotten-export) The symbol "OtherIncomeField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - OtherIncome: typeof OtherIncomeField; - // Warning: (ae-forgotten-export) The symbol "TwoJobsField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - TwoJobs: typeof TwoJobsField; -} - -// Warning: (ae-missing-release-tag) "FederalTaxesFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FederalTaxesFieldsMetadata = UseFederalTaxesFormReady['form']['fieldsMetadata']; - -// Warning: (ae-missing-release-tag) "FederalTaxesFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FederalTaxesFormData = { - [K in keyof typeof fieldValidators_11]: z.infer<(typeof fieldValidators_11)[K]>; -}; - -// Warning: (ae-missing-release-tag) "FederalTaxesFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FederalTaxesFormFields = UseFederalTaxesFormReady['form']['Fields']; - -// Warning: (ae-missing-release-tag) "FederalTaxesFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FederalTaxesFormOutputs = FederalTaxesFormData; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_10" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "FederalTaxesOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FederalTaxesOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-forgotten-export) The symbol "CommonComponentInterface" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "FederalTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface FederalTaxesProps_2 extends CommonComponentInterface<'Employee.FederalTaxes'> { - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId: string; - // (undocumented) - onEvent: BaseComponentInterface['onEvent']; -} - -// Warning: (ae-missing-release-tag) "FederalTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface FederalTaxesProps_3 extends CommonComponentInterface<'Employee.FederalTaxes'> { - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId: string; - // (undocumented) - onEvent: BaseComponentInterface['onEvent']; -} - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FederalTaxesRequiredValidation = typeof FederalTaxesErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "FieldMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface FieldMetadata { - // (undocumented) - hasRedactedValue?: boolean; - // (undocumented) - isDisabled?: boolean; - // (undocumented) - isRequired?: boolean; - maxDate?: string | null; - minDate?: string | null; - // (undocumented) - name: string; -} - -// Warning: (ae-missing-release-tag) "FieldMetadataWithOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface FieldMetadataWithOptions extends FieldMetadata { - // (undocumented) - entries?: readonly TEntry[]; - // (undocumented) - options: Array<{ - label: string; - value: string; - }>; -} - -// Warning: (ae-missing-release-tag) "FieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FieldsMetadata = { - [key: string]: FieldMetadata | FieldMetadataWithOptions; -}; - -// Warning: (ae-missing-release-tag) "FileInputProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface FileInputProps extends Omit { - 'aria-describedby'?: string; - accept?: string[]; - className?: string; - id?: string; - isDisabled?: boolean; - isInvalid?: boolean; - onBlur?: () => void; - onChange: (file: File | null) => void; - value: File | null; -} - -// Warning: (ae-missing-release-tag) "FILING_STATUS_VALUES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const FILING_STATUS_VALUES: readonly ["Single", "Married", "Head of Household", "Exempt from withholding"]; - -// Warning: (ae-missing-release-tag) "FilingStatusFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FilingStatusFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "FilingStatusValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FilingStatusValue = (typeof FILING_STATUS_VALUES)[number]; - -// Warning: (ae-missing-release-tag) "FipsCodeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FipsCodeFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "FirstNameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FirstNameFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "FlsaStatusFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FlsaStatusFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "FormFieldsMetadataContextValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface FormFieldsMetadataContextValue { - // (undocumented) - errors: SDKError[]; - // (undocumented) - metadata: FieldsMetadata; -} - -// Warning: (ae-forgotten-export) The symbol "FormFieldsMetadataProviderProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "FormFieldsMetadataProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function FormFieldsMetadataProvider(input: FormFieldsMetadataProviderProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "FormHookResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@gusto/embedded-react-sdk" does not have an export "useHookFieldResolution" -// -// @public -export type FormHookResult = { - errorHandling: Pick; - form: Pick & { - hookFormInternals: { - formMethods: { - control: unknown; - }; - _fieldElementRegistry?: FieldElementRegistry; - }; - }; -}; - -// Warning: (ae-missing-release-tag) "FrequencyFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type FrequencyFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "GarnishmentTypeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type GarnishmentTypeFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "getQuestionVariant" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function getQuestionVariant(question: EmployeeStateTaxQuestion): StateTaxQuestionVariant; - -// Warning: (ae-missing-release-tag) "getRequiredAttrKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function getRequiredAttrKeys(agency?: Agencies | null): Set; - -// Warning: (ae-missing-release-tag) "GustoApiProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface GustoApiProps extends Omit { - // (undocumented) - children?: default_2.ReactNode; - // (undocumented) - components?: Partial; - // (undocumented) - queryClient?: QueryClient; -} - -// Warning: (ae-missing-release-tag) "GustoApiProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public @deprecated (undocumented) -export const GustoApiProvider: default_2.FC; - -// Warning: (ae-missing-release-tag) "GustoProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const GustoProvider: default_2.FC; - -// Warning: (ae-missing-release-tag) "GustoProviderCustomUIAdapter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export const GustoProviderCustomUIAdapter: default_2.FC; - -// Warning: (ae-missing-release-tag) "GustoProviderCustomUIAdapterProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface GustoProviderCustomUIAdapterProps extends GustoProviderProps { - // (undocumented) - children?: default_2.ReactNode; -} - -// Warning: (ae-missing-release-tag) "GustoProviderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface GustoProviderProps { - // (undocumented) - components: ComponentsContextType; - // (undocumented) - config: APIConfig; - // (undocumented) - currency?: string; - // Warning: (ae-forgotten-export) The symbol "ResourceDictionary" needs to be exported by the entry point index.d.ts - // - // (undocumented) - dictionary?: ResourceDictionary; - // (undocumented) - lng?: string; - // Warning: (ae-forgotten-export) The symbol "LoadingIndicatorContextProps" needs to be exported by the entry point index.d.ts - // - // (undocumented) - LoaderComponent?: LoadingIndicatorContextProps['LoadingIndicator']; - // (undocumented) - locale?: string; - // (undocumented) - portalContainer?: HTMLElement; - // (undocumented) - queryClient?: QueryClient; - // Warning: (ae-forgotten-export) The symbol "GustoSDKTheme" needs to be exported by the entry point index.d.ts - // - // (undocumented) - theme?: GustoSDKTheme; -} - -// Warning: (ae-missing-release-tag) "HeadingProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface HeadingProps extends Pick, 'className' | 'id'> { - as: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; - children?: ReactNode; - styledAs?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; - textAlign?: 'start' | 'center' | 'end'; -} - -// Warning: (ae-missing-release-tag) "HireDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HireDateFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "EmployeeTableItem" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "HolidayPolicyDetailEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface HolidayPolicyDetailEmployee extends EmployeeTableItem { - // (undocumented) - uuid: string; -} - -// Warning: (ae-missing-release-tag) "HolidayPolicyDetailPresentationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface HolidayPolicyDetailPresentationProps { - // (undocumented) - actions?: ReactNode[]; - // (undocumented) - backLabel: string; - // Warning: (ae-forgotten-export) The symbol "EmployeeTableProps" needs to be exported by the entry point index.d.ts - // - // (undocumented) - employees: Pick, 'data' | 'searchValue' | 'onSearchChange' | 'onSearchClear' | 'searchPlaceholder' | 'itemMenu' | 'pagination' | 'isFetching' | 'emptyState'>; - // Warning: (ae-forgotten-export) The symbol "HolidayItem" needs to be exported by the entry point index.d.ts - // - // (undocumented) - holidays: HolidayItem[]; - // (undocumented) - onAddEmployee?: () => void; - // (undocumented) - onBack: () => void; - // (undocumented) - onDismissAlert?: () => void; - // (undocumented) - onTabChange: (id: string) => void; - // Warning: (ae-forgotten-export) The symbol "RemoveDialogState" needs to be exported by the entry point index.d.ts - // - // (undocumented) - removeDialog: RemoveDialogState; - // (undocumented) - selectedTabId: string; - // (undocumented) - subtitle?: string; - // (undocumented) - successAlert?: string; - // (undocumented) - title: string; -} - -// Warning: (ae-missing-release-tag) "HolidaySelectionForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function HolidaySelectionForm(props: HolidaySelectionFormProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "HolidaySelectionFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface HolidaySelectionFormProps extends BaseComponentInterface { - // (undocumented) - companyId: string; - // (undocumented) - mode?: 'create' | 'edit'; -} - -// Warning: (ae-missing-release-tag) "HomeAddress" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function HomeAddress(input: HomeAddressProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "EffectiveDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HomeAddressEffectiveDateFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "HomeAddressErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HomeAddressErrorCode = (typeof HomeAddressErrorCodes)[keyof typeof HomeAddressErrorCodes]; - -// Warning: (ae-missing-release-tag) "HomeAddressErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const HomeAddressErrorCodes: { - readonly REQUIRED: "REQUIRED"; - readonly INVALID_ZIP: "INVALID_ZIP"; -}; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_7" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "HomeAddressField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HomeAddressField = keyof typeof fieldValidators_7; - -// Warning: (ae-missing-release-tag) "HomeAddressFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HomeAddressFieldsMetadata = UseHomeAddressFormReady['form']['fieldsMetadata']; - -// Warning: (ae-missing-release-tag) "HomeAddressFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HomeAddressFormData = { - [K in keyof typeof fieldValidators_7]: z.infer<(typeof fieldValidators_7)[K]>; -}; - -// Warning: (ae-missing-release-tag) "HomeAddressFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HomeAddressFormFields = UseHomeAddressFormReady['form']['Fields']; - -// Warning: (ae-missing-release-tag) "HomeAddressFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HomeAddressFormOutputs = HomeAddressFormData; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_6" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "HomeAddressOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HomeAddressOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "HomeAddressProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface HomeAddressProps extends CommonComponentInterface<'Employee.HomeAddress.Management'> { - // (undocumented) - employeeId: string; - // (undocumented) - onEvent: BaseComponentInterface['onEvent']; -} - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type HomeAddressRequiredValidation = typeof HomeAddressErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "HomeAddressSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface HomeAddressSubmitOptions { - effectiveDate?: string; - // (undocumented) - employeeId?: string; -} - -// Warning: (ae-missing-release-tag) "HookErrorHandling" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface HookErrorHandling { - // (undocumented) - clearSubmitError: () => void; - // (undocumented) - errors: SDKError[]; - // (undocumented) - retryQueries: () => void; -} - -// Warning: (ae-missing-release-tag) "HookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export type HookFieldProps = Omit; - -// Warning: (ae-missing-release-tag) "HookFormInternals" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface HookFormInternals { - _fieldElementRegistry?: FieldElementRegistry; - // (undocumented) - formMethods: UseFormReturn; -} - -// Warning: (ae-missing-release-tag) "HookLoadingResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface HookLoadingResult { - // (undocumented) - errorHandling: HookErrorHandling; - // (undocumented) - isLoading: true; -} - -// Warning: (ae-missing-release-tag) "HookSubmitResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface HookSubmitResult { - // (undocumented) - data: T; - // (undocumented) - mode: 'create' | 'update'; -} - -// Warning: (ae-forgotten-export) The symbol "IndustryProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "Industry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function Industry(props: IndustryProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "InformationRequestFormProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "InformationRequestForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// Warning: (ae-missing-release-tag) "InformationRequestForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function InformationRequestForm(props: InformationRequestFormProps): JSX_2.Element; - -// @public (undocumented) -namespace InformationRequestForm { - var // (undocumented) - Footer: (input: { - onEvent: OnEventType; - }) => JSX_2.Element; -} - -// Warning: (ae-forgotten-export) The symbol "InformationRequestListProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "InformationRequestList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function InformationRequestList(props: InformationRequestListProps): JSX_2.Element; - -declare namespace InformationRequests { - export { - InformationRequestsFlow, - InformationRequestList, - InformationRequestForm - } -} - -// Warning: (ae-forgotten-export) The symbol "InformationRequestsFlowProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "InformationRequestsFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function InformationRequestsFlow(input: InformationRequestsFlowProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "InviteSignatoryProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "InviteSignatory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function InviteSignatory(props: InviteSignatoryProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "JobErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type JobErrorCode = (typeof JobErrorCodes)[keyof typeof JobErrorCodes]; - -// Warning: (ae-missing-release-tag) "JobErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const JobErrorCodes: { - readonly REQUIRED: "REQUIRED"; -}; - -// Warning: (ae-missing-release-tag) "JobFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type JobFieldsMetadata = UseJobFormReady['form']['fieldsMetadata']; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_4" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "JobFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type JobFormData = { - [K in keyof typeof fieldValidators_4]: z.infer<(typeof fieldValidators_4)[K]>; -}; - -// Warning: (ae-missing-release-tag) "JobFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface JobFormFields { - // Warning: (ae-forgotten-export) The symbol "HireDateField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - HireDate: typeof HireDateField | undefined; - // Warning: (ae-forgotten-export) The symbol "StateWcClassCodeField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - StateWcClassCode: typeof StateWcClassCodeField | undefined; - // Warning: (ae-forgotten-export) The symbol "StateWcCoveredField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - StateWcCovered: typeof StateWcCoveredField | undefined; - // Warning: (ae-forgotten-export) The symbol "JobTitleField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Title: typeof JobTitleField | undefined; - // Warning: (ae-forgotten-export) The symbol "TwoPercentShareholderField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - TwoPercentShareholder: typeof TwoPercentShareholderField | undefined; -} - -// Warning: (ae-missing-release-tag) "JobFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type JobFormOutputs = JobFormData; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_3" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "JobOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type JobOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "JobRequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type JobRequiredValidation = typeof JobErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "JobSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface JobSubmitOptions { - employeeId?: string; - hireDate?: string; -} - -// Warning: (ae-missing-release-tag) "JobTitleFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type JobTitleFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "SummaryProps_2" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "Landing" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function Landing(props: SummaryProps_2 & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "LastNameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type LastNameFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "LinkProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type LinkProps = Pick, -/** -* URL that the link points to -*/ -'href' -/** -* Specifies where to open the linked document -*/ -| 'target' -/** -* Specifies the relationship between the current document and the linked document -*/ -| 'rel' -/** -* Indicates that the link is for downloading a resource -*/ -| 'download' -/** -* Additional CSS class name -*/ -| 'className' -/** -* Unique identifier for the link -*/ -| 'id' -/** -* Handler for key down events -*/ -| 'onKeyDown' -/** -* Handler for key up events -*/ -| 'onKeyUp' -/** -* Accessible label for the link -*/ -| 'aria-label' -/** -* ID of an element that labels this link -*/ -| 'aria-labelledby' -/** -* ID of an element that describes this link -*/ -| 'aria-describedby' -/** -* Title text shown on hover -*/ -| 'title'> & { - children?: ReactNode; -}; - -// Warning: (ae-missing-release-tag) "LoadingSpinnerProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface LoadingSpinnerProps extends Pick, 'className' | 'id' | 'aria-label'> { - size?: 'lg' | 'sm'; - style?: 'inline' | 'block'; -} - -// Warning: (ae-missing-release-tag) "LocationFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type LocationFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "LocationFormProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "LocationForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function LocationForm(input: LocationFormProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "LocationsProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "Locations" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function Locations(input: LocationsProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "ManagementEmployeeListProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "ManagementEmployeeList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function ManagementEmployeeList(input: ManagementEmployeeListProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "MAX_PREPARERS" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const MAX_PREPARERS = 4; - -// Warning: (ae-forgotten-export) The symbol "DataAttributes" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "MenuItem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface MenuItem extends DataAttributes { - href?: string; - icon?: ReactNode; - isDisabled?: boolean; - label: string; - onClick: () => void; -} - -// Warning: (ae-missing-release-tag) "MenuProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface MenuProps extends DataAttributes { - 'aria-label': string; - isOpen?: boolean; - items?: MenuItem[]; - onClose?: () => void; - placement?: 'top' | 'top start' | 'top end' | 'bottom' | 'bottom start' | 'bottom end' | 'left' | 'right'; - portalContainer?: HTMLElement; - triggerRef?: RefObject; -} - -// Warning: (ae-missing-release-tag) "MiddleInitialFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type MiddleInitialFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "MinimumWageIdFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type MinimumWageIdFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "QueryWithRefetch" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "MixedErrorSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type MixedErrorSource = QueryWithRefetch | { - errorHandling: HookErrorHandling; -}; - -// Warning: (ae-missing-release-tag) "ModalProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ModalProps { - children?: ReactNode; - containerRef?: React.RefObject; - footer?: ReactNode; - isOpen?: boolean; - onClose?: () => void; - shouldCloseOnBackdropClick?: boolean; -} - -// Warning: (ae-missing-release-tag) "NameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type NameFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "NameValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type NameValidation = (typeof EmployeeDetailsErrorCodes)['REQUIRED' | 'INVALID_NAME']; - -// Warning: (ae-forgotten-export) The symbol "NewHireReportProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "NewHireReport" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function NewHireReport(props: NewHireReportProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "normalizeToSDKError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function normalizeToSDKError(error: unknown): SDKError; - -// Warning: (ae-missing-release-tag) "NumberInputHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function NumberInputHookField(input: NumberInputHookFieldProps): ReactElement>; - -// Warning: (ae-missing-release-tag) "NumberInputHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface NumberInputHookFieldProps extends BaseFieldProps { - // (undocumented) - FieldComponent?: ComponentType; - // (undocumented) - format?: NumberInputProps['format']; - // (undocumented) - formHookResult?: FormHookResult; - // (undocumented) - max?: NumberInputProps['max']; - // (undocumented) - min?: NumberInputProps['min']; - // (undocumented) - name: string; - // (undocumented) - placeholder?: NumberInputProps['placeholder']; - // (undocumented) - validationMessages?: ValidationMessages; -} - -// Warning: (ae-missing-release-tag) "NumberInputProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface NumberInputProps extends SharedFieldLayoutProps, Pick, 'min' | 'max' | 'name' | 'id' | 'placeholder' | 'className'> { - adornmentEnd?: InputProps['adornmentEnd']; - // Warning: (ae-forgotten-export) The symbol "InputProps" needs to be exported by the entry point index.d.ts - adornmentStart?: InputProps['adornmentStart']; - format?: 'currency' | 'decimal' | 'percent'; - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - maximumFractionDigits?: number; - minimumFractionDigits?: number; - onBlur?: () => void; - onChange?: (value: number) => void; - value?: number; -} - -// Warning: (ae-missing-release-tag) "NumberStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type NumberStateTaxFieldProps = BaseStateTaxFieldProps & { - FieldComponent?: ComponentType; -}; - -// Warning: (ae-missing-release-tag) "ObservabilityError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface ObservabilityError extends SDKError { - componentName?: string; - componentStack?: string; - timestamp: number; -} - -// Warning: (ae-missing-release-tag) "ObservabilityHook" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface ObservabilityHook { - onError?: (error: ObservabilityError) => void; - onMetric?: (metric: ObservabilityMetric) => void; - sanitization?: SanitizationConfig; -} - -// Warning: (ae-missing-release-tag) "ObservabilityMetric" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ObservabilityMetric { - name: string; - tags?: Record; - timestamp: number; - unit?: ObservabilityMetricUnit; - value: number; -} - -// Warning: (ae-missing-release-tag) "ObservabilityMetricUnit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ObservabilityMetricUnit = 'ms' | 'count' | 'bytes' | 'percent'; - -// Warning: (ae-missing-release-tag) "ObservabilityProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const ObservabilityProvider: (input: ObservabilityProviderProps) => JSX_2.Element; - -// Warning: (ae-missing-release-tag) "ObservabilityProviderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ObservabilityProviderProps { - // (undocumented) - children: ReactNode; - // (undocumented) - observability?: ObservabilityHook; -} - -// Warning: (ae-missing-release-tag) "OffCycleCreation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function OffCycleCreation(props: OffCycleCreationProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "OffCycleCreationFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface OffCycleCreationFormData extends OffCyclePayPeriodDateFormData { - // (undocumented) - includeAllEmployees: boolean; - // (undocumented) - reason: OffCycleReason; - // (undocumented) - selectedEmployeeUuids: string[]; - // (undocumented) - skipRegularDeductions: boolean; -} - -// Warning: (ae-missing-release-tag) "OffCycleCreationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface OffCycleCreationProps extends BaseComponentInterface<'Payroll.OffCycleCreation'> { - // (undocumented) - companyId: string; - // (undocumented) - payrollType?: OffCyclePayrollDateType; -} - -// Warning: (ae-missing-release-tag) "OffCycleDeductionsSetting" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function OffCycleDeductionsSetting(input: OffCycleDeductionsSettingProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "OffCycleDeductionsSettingChangePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface OffCycleDeductionsSettingChangePayload { - // (undocumented) - skipRegularDeductions: boolean; -} - -// Warning: (ae-missing-release-tag) "OffCycleDeductionsSettingProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface OffCycleDeductionsSettingProps extends CommonComponentInterface<'Payroll.OffCycleDeductionsSetting'> { - // (undocumented) - onEvent: OnEventType; - // (undocumented) - skipRegularDeductions: boolean; -} - -// Warning: (ae-missing-release-tag) "OffCycleFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function OffCycleFlow(input: OffCycleFlowProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "OffCycleFlowContextInterface" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface OffCycleFlowContextInterface extends FlowContextInterface { - // (undocumented) - companyId: string; - // (undocumented) - payrollType?: OffCycleReason; - // (undocumented) - payrollUuid?: string; - // (undocumented) - withReimbursements?: boolean; -} - -// Warning: (ae-missing-release-tag) "OffCycleFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface OffCycleFlowProps { - // (undocumented) - companyId: string; - // (undocumented) - onEvent: OnEventType; - // (undocumented) - payrollType?: OffCycleReason; - // (undocumented) - withReimbursements?: boolean; -} - -// Warning: (ae-missing-release-tag) "OffCyclePayPeriodDateFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface OffCyclePayPeriodDateFormData { - // (undocumented) - checkDate: Date | null; - // (undocumented) - endDate: Date | null; - // (undocumented) - isCheckOnly: boolean; - // (undocumented) - startDate: Date | null; -} - -// Warning: (ae-missing-release-tag) "OffCyclePayrollDateType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -type OffCyclePayrollDateType = 'bonus' | 'correction'; - -// Warning: (ae-missing-release-tag) "OffCycleReason" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -type OffCycleReason = 'bonus' | 'correction'; - -// Warning: (ae-missing-release-tag) "OffCycleReasonDefaults" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface OffCycleReasonDefaults { - // (undocumented) - skipDeductions: boolean; - // Warning: (ae-forgotten-export) The symbol "WithholdingType" needs to be exported by the entry point index.d.ts - // - // (undocumented) - withholdingType: WithholdingType; -} - -// Warning: (ae-missing-release-tag) "OffCycleReasonSelection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function OffCycleReasonSelection(props: OffCycleReasonSelectionProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "OffCycleReasonSelectionProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface OffCycleReasonSelectionProps extends BaseComponentInterface<'Payroll.OffCycleReasonSelection'> { - // (undocumented) - companyId: string; -} - -// Warning: (ae-forgotten-export) The symbol "OnboardingFlowProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "OnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const OnboardingFlow: (input: OnboardingFlowProps) => JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "OnboardingFlowProps_2" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "OnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const OnboardingFlow_2: (input: OnboardingFlowProps_2) => JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "OnboardingFlowProps_3" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "OnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const OnboardingFlow_3: (input: OnboardingFlowProps_3) => JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "OnboardingOverviewProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "OnboardingOverview" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function OnboardingOverview(props: OnboardingOverviewProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "SummaryProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "OnboardingSummary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function OnboardingSummary(props: SummaryProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "BaseListProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "OrderedListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type OrderedListProps = BaseListProps; - -// Warning: (ae-missing-release-tag) "OrderNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type OrderNumberFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "OtherIncomeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type OtherIncomeFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "PaginationControlProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaginationControlProps = { - handleFirstPage: () => void; - handlePreviousPage: () => void; - handleNextPage: () => void; - handleLastPage: () => void; - handleItemsPerPageChange: (n: PaginationItemsPerPage) => void; - currentPage: number; - totalPages: number; - totalCount?: number; - itemsPerPage?: PaginationItemsPerPage; - isFetching?: boolean; -}; - -// Warning: (ae-missing-release-tag) "PaginationItemsPerPage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaginationItemsPerPage = 5 | 10 | 25 | 50; - -// Warning: (ae-missing-release-tag) "PAYMENT_METHOD_TYPES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const PAYMENT_METHOD_TYPES: readonly ["Direct Deposit", "Check"]; - -// Warning: (ae-forgotten-export) The symbol "PaymentFlowProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PaymentFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const PaymentFlow: (input: PaymentFlowProps) => JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PaymentHistoryProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PaymentHistory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PaymentHistory(props: PaymentHistoryProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PaymentMethodProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PaymentMethod" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PaymentMethod(props: PaymentMethodProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PaymentMethod" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PaymentMethod_2(input: PaymentMethodProps_2 & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PaymentMethod" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PaymentMethod_3(input: PaymentMethodProps_3 & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_9" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PaymentMethodFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentMethodFormData = { - [K in keyof typeof fieldValidators_9]: z.infer<(typeof fieldValidators_9)[K]>; -}; - -// Warning: (ae-missing-release-tag) "PaymentMethodFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentMethodFormErrorCode = (typeof PaymentMethodFormErrorCodes)[keyof typeof PaymentMethodFormErrorCodes]; - -// Warning: (ae-missing-release-tag) "PaymentMethodFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const PaymentMethodFormErrorCodes: { - readonly REQUIRED: "REQUIRED"; -}; - -// Warning: (ae-missing-release-tag) "PaymentMethodFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentMethodFormField = keyof typeof fieldValidators_9; - -// Warning: (ae-missing-release-tag) "PaymentMethodFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface PaymentMethodFormFields { - // Warning: (ae-forgotten-export) The symbol "TypeField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Type: typeof TypeField; -} - -// Warning: (ae-missing-release-tag) "PaymentMethodFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentMethodFormFieldsMetadata = UsePaymentMethodFormReady['form']['fieldsMetadata']; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_8" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PaymentMethodFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentMethodFormOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "PaymentMethodFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentMethodFormOutputs = PaymentMethodFormData; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentMethodFormRequiredValidation = typeof PaymentMethodFormErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "PaymentMethodProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface PaymentMethodProps_2 extends CommonComponentInterface<'Employee.PaymentMethod'> { - // (undocumented) - defaultValues?: never; - // (undocumented) - employeeId: string; - // (undocumented) - isAdmin?: boolean; - // (undocumented) - onEvent: OnEventType; -} - -// Warning: (ae-missing-release-tag) "PaymentMethodProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface PaymentMethodProps_3 extends CommonComponentInterface<'Employee.PaymentMethod'> { - // (undocumented) - defaultValues?: never; - // (undocumented) - employeeId: string; - // (undocumented) - initialState?: 'list' | 'add' | 'split'; - // (undocumented) - isAdmin?: boolean; - // (undocumented) - onEvent: OnEventType; -} - -// Warning: (ae-missing-release-tag) "PaymentMethodType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentMethodType = (typeof PAYMENT_METHOD_TYPES)[number]; - -// Warning: (ae-missing-release-tag) "PaymentPeriodFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentPeriodFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "PaymentsListProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PaymentsList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PaymentsList(props: PaymentsListProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PaymentStatementProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PaymentStatement" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PaymentStatement(props: PaymentStatementProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PaymentSummaryProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PaymentSummary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const PaymentSummary: (input: PaymentSummaryProps) => JSX_2.Element | null; - -// Warning: (ae-missing-release-tag) "PaymentUnitFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PaymentUnitFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "PayPeriodMaximumFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayPeriodMaximumFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "PayPeriodMaximumValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayPeriodMaximumValidation = ChildSupportGarnishmentRequiredValidation | ChildSupportGarnishmentNegativeAmountValidation; - -declare namespace Payroll { - export { - PayrollConfiguration, - PayrollEditEmployee, - PayrollHistory, - PayrollLanding, - PayrollList, - OffCycleReasonSelection, - OffCycleReason, - OffCycleReasonDefaults, - OffCycleReasonSelectionProps, - SelectReasonPayload, - OffCycleDeductionsSetting, - OffCycleDeductionsSettingProps, - OffCycleDeductionsSettingChangePayload, - PayrollOverview, - PayrollFlow, - PayrollExecutionFlow, - PayrollExecutionFlowProps, - PayrollExecutionInitialState, - PayrollReceipts, - ConfirmWireDetails, - ConfirmWireDetailsProps, - ConfirmWireDetailsComponentType, - PayrollBlockerList, - ApiPayrollBlocker, - RecoveryCases, - OffCyclePayPeriodDateFormData, - OffCyclePayrollDateType, - OffCycleCreation, - OffCycleCreationProps, - OffCycleCreationFormData, - OffCycleFlow, - OffCycleFlowContextInterface, - OffCycleFlowProps, - DismissalFlow, - DismissalFlowProps, - DismissalFlowContextInterface, - TransitionFlow, - TransitionFlowContextInterface, - TransitionFlowProps, - TransitionCreation, - TransitionCreationProps, - TransitionCreationFormData - } -} - -// Warning: (ae-forgotten-export) The symbol "PayrollBlockerListProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayrollBlockerList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -function PayrollBlockerList(props: PayrollBlockerListProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PayrollConfigurationProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayrollConfiguration" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PayrollConfiguration(props: PayrollConfigurationProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PayrollEditEmployeeProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayrollEditEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PayrollEditEmployee(props: PayrollEditEmployeeProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PayrollExecutionFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PayrollExecutionFlow(input: PayrollExecutionFlowProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PayrollExecutionFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface PayrollExecutionFlowProps { - // (undocumented) - companyId: string; - // (undocumented) - ConfirmWireDetailsComponent?: ConfirmWireDetailsComponentType; - // (undocumented) - initialPayPeriod?: PayrollPayPeriodType; - // (undocumented) - initialState?: PayrollExecutionInitialState; - // (undocumented) - isDismissalPayroll?: boolean; - // (undocumented) - onEvent: OnEventType; - // (undocumented) - payrollId: string; - // Warning: (ae-forgotten-export) The symbol "FlowBreadcrumb" needs to be exported by the entry point index.d.ts - // - // (undocumented) - prefixBreadcrumbs?: FlowBreadcrumb[]; - // (undocumented) - withReimbursements?: boolean; -} - -// Warning: (ae-missing-release-tag) "PayrollExecutionInitialState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -type PayrollExecutionInitialState = 'configuration' | 'overview'; - -// Warning: (ae-forgotten-export) The symbol "PayrollFlowProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayrollFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const PayrollFlow: (input: PayrollFlowProps) => JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PayrollHistoryProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayrollHistory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PayrollHistory(props: PayrollHistoryProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PayrollLandingProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayrollLanding" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PayrollLanding(props: PayrollLandingProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PayrollListBlockProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayrollList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PayrollList(props: PayrollListBlockProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PayrollLoadingProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface PayrollLoadingProps { - // (undocumented) - description?: ReactNode; - // (undocumented) - title: ReactNode; -} - -// Warning: (ae-missing-release-tag) "PayrollOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -type PayrollOption = 'dismissalPayroll' | 'regularPayroll' | 'anotherWay'; - -// Warning: (ae-forgotten-export) The symbol "PayrollOverviewProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayrollOverview" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PayrollOverview(props: PayrollOverviewProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PayrollReceiptsProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayrollReceipts" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PayrollReceipts(props: PayrollReceiptsProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "PayScheduleProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PaySchedule" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const PaySchedule: (input: PayScheduleProps & BaseComponentInterface) => JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PayScheduleErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayScheduleErrorCode = (typeof PayScheduleErrorCodes)[keyof typeof PayScheduleErrorCodes]; - -// Warning: (ae-missing-release-tag) "PayScheduleErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const PayScheduleErrorCodes: { - readonly REQUIRED: "REQUIRED"; - readonly DAY_RANGE: "DAY_RANGE"; -}; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_13" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayScheduleField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayScheduleField = keyof typeof fieldValidators_13; - -// Warning: (ae-missing-release-tag) "PayScheduleFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayScheduleFieldsMetadata = UsePayScheduleFormReady['form']['fieldsMetadata']; - -// Warning: (ae-missing-release-tag) "PayScheduleFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayScheduleFormData = { - [K in keyof typeof fieldValidators_13]: z.infer<(typeof fieldValidators_13)[K]>; -}; - -// Warning: (ae-missing-release-tag) "PayScheduleFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayScheduleFormFields = UsePayScheduleFormReady['form']['Fields']; - -// Warning: (ae-missing-release-tag) "PayScheduleFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayScheduleFormOutputs = PayScheduleFormData; - -// Warning: (ae-forgotten-export) The symbol "FREQUENCY_VALUES" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayScheduleFrequency" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayScheduleFrequency = (typeof FREQUENCY_VALUES)[number]; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_11" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PayScheduleOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayScheduleOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PayScheduleRequiredValidation = typeof PayScheduleErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "PolicyConfigurationForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PolicyConfigurationForm(props: PolicyConfigurationFormProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PolicyConfigurationFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface PolicyConfigurationFormProps extends BaseComponentInterface<'Company.TimeOff.CreateTimeOffPolicy'> { - // (undocumented) - companyId: string; - // Warning: (ae-forgotten-export) The symbol "PolicyConfigurationFormData" needs to be exported by the entry point index.d.ts - // - // (undocumented) - defaultValues?: Partial; - // (undocumented) - policyId?: string; - // (undocumented) - policyType: 'sick' | 'vacation'; -} - -// Warning: (ae-forgotten-export) The symbol "UnlimitedPolicyDetails" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "RateBasedPolicyDetails" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PolicyDetails" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -type PolicyDetails = UnlimitedPolicyDetails | RateBasedPolicyDetails; - -// Warning: (ae-missing-release-tag) "PolicyList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PolicyList(input: PolicyListProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PolicyListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface PolicyListProps extends BaseComponentInterface<'Company.TimeOff.TimeOffPolicies'> { - // (undocumented) - companyId: string; -} - -// Warning: (ae-missing-release-tag) "PolicySettingsDisplay" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface PolicySettingsDisplay { - // (undocumented) - accrualWaitingPeriodDays: number | null; - // (undocumented) - carryoverLimitHours: number | null; - // (undocumented) - maxAccrualHoursPerYear: number | null; - // (undocumented) - maxHours: number | null; - // (undocumented) - paidOutOnTermination: boolean; -} - -// Warning: (ae-missing-release-tag) "PolicySettingsPresentation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PolicySettingsPresentation(input: PolicySettingsPresentationProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PolicySettingsPresentationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface PolicySettingsPresentationProps { - // Warning: (ae-forgotten-export) The symbol "PolicySettingsAccrualMethod" needs to be exported by the entry point index.d.ts - // - // (undocumented) - accrualMethod: PolicySettingsAccrualMethod; - // (undocumented) - defaultValues?: Partial; - // (undocumented) - editingPolicyName?: string; - // (undocumented) - isPending?: boolean; - // (undocumented) - mode?: 'create' | 'edit'; - // (undocumented) - onBack: () => void; - // Warning: (ae-forgotten-export) The symbol "PolicySettingsFormData" needs to be exported by the entry point index.d.ts - // - // (undocumented) - onContinue: (data: PolicySettingsFormData) => void; -} - -// Warning: (ae-missing-release-tag) "PolicyTypeSelector" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function PolicyTypeSelector(props: PolicyTypeSelectorProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "PolicyTypeSelectorProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface PolicyTypeSelectorProps extends BaseComponentInterface<'Company.TimeOff.SelectPolicyType'> { - // (undocumented) - companyId: string; - // Warning: (ae-forgotten-export) The symbol "PolicyType" needs to be exported by the entry point index.d.ts - // - // (undocumented) - defaultPolicyType?: PolicyType; -} - -// Warning: (ae-missing-release-tag) "PREPARER_FIELDS_BY_INDEX" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const PREPARER_FIELDS_BY_INDEX: SignEmployeeFormField[][]; - -// Warning: (ae-missing-release-tag) "PreparerCheckboxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PreparerCheckboxFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "preparer1Fields" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "PreparerFieldGroup" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PreparerFieldGroup = typeof preparer1Fields; - -// Warning: (ae-missing-release-tag) "preparerFieldName" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function preparerFieldName(index: PreparerIndex, field: PreparerFieldSuffix): string; - -// Warning: (ae-missing-release-tag) "PreparerFieldSuffix" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PreparerFieldSuffix = 'FirstName' | 'LastName' | 'Street1' | 'Street2' | 'City' | 'State' | 'Zip' | 'Signature' | 'Agree'; - -// Warning: (ae-missing-release-tag) "PreparerIndex" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PreparerIndex = 1 | 2 | 3 | 4; - -// Warning: (ae-missing-release-tag) "PreparerTextFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type PreparerTextFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "ProfileProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "Profile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function Profile(input: ProfileProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "Profile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function Profile_2(input: ProfileProps_2 & Pick): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "ProfileProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface ProfileProps_2 extends CommonComponentInterface<'Employee.Profile'> { - // (undocumented) - employeeId: string; - // (undocumented) - onEvent: BaseComponentInterface['onEvent']; -} - -// Warning: (ae-missing-release-tag) "ProgressBarProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface ProgressBarProps { - className?: string; - cta?: React.ComponentType | null; - currentStep: number; - label: string; - totalSteps: number; -} - -// Warning: (ae-missing-release-tag) "RadioGroupHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function RadioGroupHookField(input: RadioGroupHookFieldProps): ReactElement>; - -// Warning: (ae-missing-release-tag) "RadioGroupHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface RadioGroupHookFieldProps extends BaseFieldProps { - // (undocumented) - FieldComponent?: ComponentType; - // (undocumented) - formHookResult?: FormHookResult; - // (undocumented) - getOptionLabel?: (entry: TEntry) => string; - // (undocumented) - name: string; - // (undocumented) - validationMessages?: ValidationMessages; -} - -// Warning: (ae-missing-release-tag) "RadioGroupOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface RadioGroupOption { - description?: React.ReactNode; - isDisabled?: boolean; - label: React.ReactNode; - value: string; -} - -// Warning: (ae-missing-release-tag) "RadioGroupProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface RadioGroupProps extends SharedFieldLayoutProps, Pick, 'className'> { - defaultValue?: string; - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - onChange?: (value: string) => void; - options: Array; - value?: string | null; -} - -// Warning: (ae-missing-release-tag) "RadioProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface RadioProps extends SharedHorizontalFieldLayoutProps, Pick, 'name' | 'id' | 'className' | 'onBlur'> { - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - onChange?: (checked: boolean) => void; - value?: boolean; -} - -// Warning: (ae-missing-release-tag) "RadioStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type RadioStateTaxFieldProps = BaseStateTaxFieldProps & { - FieldComponent?: ComponentType; -}; - -// Warning: (ae-missing-release-tag) "RateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type RateFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "RateValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type RateValidation = (typeof CompensationErrorCodes)['REQUIRED' | 'RATE_MINIMUM' | 'RATE_EXEMPT_THRESHOLD']; - -// Warning: (ae-forgotten-export) The symbol "RecoveryCasesInternalProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "RecoveryCases" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function RecoveryCases(input: RecoveryCasesInternalProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "RecurringFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type RecurringFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "RemittanceNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type RemittanceNumberFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "RoutingNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type RoutingNumberFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "RoutingNumberValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type RoutingNumberValidation = (typeof BankFormErrorCodes)[keyof Pick]; - -// Warning: (ae-missing-release-tag) "SanitizationConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface SanitizationConfig { - additionalSensitiveFields?: string[]; - customErrorSanitizer?: (error: ObservabilityError) => ObservabilityError; - customMetricSanitizer?: (metric: ObservabilityMetric) => ObservabilityMetric; - enabled?: boolean; - includeRawError?: boolean; -} - -// Warning: (ae-missing-release-tag) "SDKError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface SDKError { - category: SDKErrorCategory; - fieldErrors: SDKFieldError[]; - httpStatus?: number; - message: string; - raw?: unknown; -} - -// Warning: (ae-forgotten-export) The symbol "SDKErrorCategories" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SDKErrorCategory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SDKErrorCategory = (typeof SDKErrorCategories)[keyof typeof SDKErrorCategories]; - -// Warning: (ae-missing-release-tag) "SDKFieldError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface SDKFieldError { - category: string; - field: string; - message: string; - metadata?: Record; -} - -// Warning: (ae-forgotten-export) The symbol "SDKFormProviderProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SDKFormProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function SDKFormProvider>(input: SDKFormProviderProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "SDKHooks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface SDKHooks { - afterError?: AfterErrorHook[]; - afterSuccess?: AfterSuccessHook[]; - beforeCreateRequest?: BeforeCreateRequestHook[]; - beforeRequest?: BeforeRequestHook[]; -} - -// Warning: (ae-missing-release-tag) "SDKInternalError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export class SDKInternalError extends Error { - constructor(message: string, category?: SDKErrorCategory); - // (undocumented) - readonly category: SDKErrorCategory; -} - -// Warning: (ae-missing-release-tag) "SelectHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function SelectHookField(input: SelectHookFieldProps): ReactElement>; - -// Warning: (ae-missing-release-tag) "SelectHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface SelectHookFieldProps extends BaseFieldProps, Pick { - // (undocumented) - FieldComponent?: ComponentType; - // (undocumented) - formHookResult?: FormHookResult; - // (undocumented) - getOptionLabel?: (entry: TEntry) => string; - // (undocumented) - name: string; - // (undocumented) - placeholder?: string; - portalContainer?: SelectProps['portalContainer']; - // (undocumented) - validationMessages?: ValidationMessages; -} - -// Warning: (ae-missing-release-tag) "SelectOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface SelectOption { - label: string; - value: string; -} - -// Warning: (ae-missing-release-tag) "SelectProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface SelectProps extends SharedFieldLayoutProps, Pick, 'id' | 'name' | 'className'> { - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - label: string; - onBlur?: () => void; - onChange?: (value: string) => void; - options: SelectOption[]; - placeholder?: string; - portalContainer?: HTMLElement; - value?: string | null; -} - -// Warning: (ae-missing-release-tag) "SelectReasonPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface SelectReasonPayload { - // (undocumented) - defaults: OffCycleReasonDefaults; - // (undocumented) - reason: OffCycleReason; -} - -// Warning: (ae-missing-release-tag) "SelectStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SelectStateTaxFieldProps = BaseStateTaxFieldProps & { - placeholder?: string; - FieldComponent?: ComponentType; -}; - -// Warning: (ae-missing-release-tag) "SelfOnboardingFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SelfOnboardingFieldProps = HookFieldProps; - -// Warning: (ae-forgotten-export) The symbol "SelfOnboardingFlowProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SelfOnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const SelfOnboardingFlow: (input: SelfOnboardingFlowProps) => JSX_2.Element; - -// Warning: (ae-missing-release-tag) "SignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignatureFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "SignatureFormProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SignatureForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function SignatureForm(props: SignatureFormProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_14" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SignCompanyFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignCompanyFormData = { - [K in keyof typeof fieldValidators_14]: z.infer<(typeof fieldValidators_14)[K]>; -}; - -// Warning: (ae-missing-release-tag) "SignCompanyFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignCompanyFormErrorCode = (typeof SignCompanyFormErrorCodes)[keyof typeof SignCompanyFormErrorCodes]; - -// Warning: (ae-missing-release-tag) "SignCompanyFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const SignCompanyFormErrorCodes: { - readonly REQUIRED: "REQUIRED"; -}; - -// Warning: (ae-missing-release-tag) "SignCompanyFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignCompanyFormField = keyof typeof fieldValidators_14; - -// Warning: (ae-missing-release-tag) "SignCompanyFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface SignCompanyFormFields { - // Warning: (ae-forgotten-export) The symbol "ConfirmSignatureField_2" needs to be exported by the entry point index.d.ts - // - // (undocumented) - ConfirmSignature: typeof ConfirmSignatureField_2; - // Warning: (ae-forgotten-export) The symbol "SignatureField_2" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Signature: typeof SignatureField_2; -} - -// Warning: (ae-missing-release-tag) "SignCompanyFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignCompanyFormFieldsMetadata = UseSignCompanyFormReady['form']['fieldsMetadata']; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_12" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SignCompanyFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignCompanyFormOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "SignCompanyFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignCompanyFormOutputs = SignCompanyFormData; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignCompanyFormRequiredValidation = typeof SignCompanyFormErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "ConfirmSignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignEmployeeFormConfirmSignatureFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_12" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SignEmployeeFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignEmployeeFormData = { - [K in keyof typeof fieldValidators_12]: z.infer<(typeof fieldValidators_12)[K]>; -}; - -// Warning: (ae-missing-release-tag) "SignEmployeeFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignEmployeeFormErrorCode = (typeof SignEmployeeFormErrorCodes)[keyof typeof SignEmployeeFormErrorCodes]; - -// Warning: (ae-missing-release-tag) "SignEmployeeFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const SignEmployeeFormErrorCodes: { - readonly REQUIRED: "REQUIRED"; -}; - -// Warning: (ae-missing-release-tag) "SignEmployeeFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignEmployeeFormField = keyof typeof fieldValidators_12; - -// Warning: (ae-missing-release-tag) "SignEmployeeFormFieldComponents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface SignEmployeeFormFieldComponents { - // Warning: (ae-forgotten-export) The symbol "ConfirmSignatureField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - ConfirmSignature: typeof ConfirmSignatureField; - // (undocumented) - Preparer1: PreparerFieldGroup | undefined; - // (undocumented) - Preparer2: PreparerFieldGroup | undefined; - // (undocumented) - Preparer3: PreparerFieldGroup | undefined; - // (undocumented) - Preparer4: PreparerFieldGroup | undefined; - // Warning: (ae-forgotten-export) The symbol "SignatureField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - Signature: typeof SignatureField; - // Warning: (ae-forgotten-export) The symbol "UsedPreparerField" needs to be exported by the entry point index.d.ts - // - // (undocumented) - UsedPreparer: typeof UsedPreparerField | undefined; -} - -// Warning: (ae-missing-release-tag) "SignEmployeeFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignEmployeeFormFields = UseSignEmployeeFormReady['form']['Fields']; - -// Warning: (ae-missing-release-tag) "SignEmployeeFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignEmployeeFormFieldsMetadata = UseSignEmployeeFormReady['form']['fieldsMetadata']; - -// Warning: (ae-missing-release-tag) "SignEmployeeFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignEmployeeFormOutputs = SignEmployeeFormData; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignEmployeeFormRequiredValidation = typeof SignEmployeeFormErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "SignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SignEmployeeFormSignatureFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "SPLIT_BY_VALUES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const SPLIT_BY_VALUES: readonly ["Percentage", "Amount"]; - -// Warning: (ae-missing-release-tag) "SplitByFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SplitByFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "SplitByValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SplitByValue = (typeof SPLIT_BY_VALUES)[number]; - -// Warning: (ae-missing-release-tag) "SplitFieldEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface SplitFieldEntry { - // (undocumented) - Field: ComponentType; - // (undocumented) - hiddenAccountNumber: string | null; - // (undocumented) - name: string | null; - // (undocumented) - uuid: string; -} - -// Warning: (ae-missing-release-tag) "SplitFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface SplitFieldProps { - // (undocumented) - description?: ReactNode; - // (undocumented) - FieldComponent?: ComponentType; - // (undocumented) - formHookResult?: FormHookResult; - // (undocumented) - label: string; - // (undocumented) - max?: NumberInputProps['max']; - // (undocumented) - min?: NumberInputProps['min']; - // (undocumented) - placeholder?: NumberInputProps['placeholder']; - // (undocumented) - validationMessages?: ValidationMessages; -} - -// Warning: (ae-missing-release-tag) "SplitFieldValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export type SplitFieldValidation = typeof SplitPaymentsFormErrorCodes.REQUIRED | typeof SplitPaymentsFormErrorCodes.INVALID_AMOUNT | typeof SplitPaymentsFormErrorCodes.INVALID_PERCENTAGE; - -// Warning: (ae-missing-release-tag) "SplitPaymentsFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SplitPaymentsFormData = { - splitBy: SplitByValue; - splitAmount: Record; - priority: Record; -}; - -// Warning: (ae-missing-release-tag) "SplitPaymentsFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SplitPaymentsFormErrorCode = (typeof SplitPaymentsFormErrorCodes)[keyof typeof SplitPaymentsFormErrorCodes]; - -// Warning: (ae-missing-release-tag) "SplitPaymentsFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const SplitPaymentsFormErrorCodes: { - readonly REQUIRED: "REQUIRED"; - readonly INVALID_PERCENTAGE: "INVALID_PERCENTAGE"; - readonly INVALID_AMOUNT: "INVALID_AMOUNT"; - readonly DUPLICATE_PRIORITIES: "DUPLICATE_PRIORITIES"; - readonly PERCENTAGE_TOTAL_MISMATCH: "PERCENTAGE_TOTAL_MISMATCH"; -}; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_10" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SplitPaymentsFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SplitPaymentsFormField = keyof typeof fieldValidators_10; - -// Warning: (ae-missing-release-tag) "SplitPaymentsFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface SplitPaymentsFormFields { - // (undocumented) - SplitBy: ComponentType; - // (undocumented) - splits: SplitFieldEntry[]; -} - -// Warning: (ae-missing-release-tag) "SplitPaymentsFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SplitPaymentsFormFieldsMetadata = UseSplitPaymentsFormReady['form']['fieldsMetadata']; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_9" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SplitPaymentsFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SplitPaymentsFormOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "SplitPaymentsFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SplitPaymentsFormOutputs = SplitPaymentsFormData; - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SplitPaymentsFormRequiredValidation = typeof SplitPaymentsFormErrorCodes.REQUIRED; - -// Warning: (ae-forgotten-export) The symbol "SsnRequiredValidation" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "SsnFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SsnFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "SsnValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SsnValidation = typeof EmployeeDetailsErrorCodes.INVALID_SSN; - -// Warning: (ae-missing-release-tag) "StateFieldEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type StateFieldEntry = { - state: string; - name: string; - manualPaymentRequired?: boolean; -}; - -// Warning: (ae-missing-release-tag) "StateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type StateFieldProps = HookFieldProps>; - -// Warning: (ae-forgotten-export) The symbol "StateTaxesProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "StateTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function StateTaxes(input: StateTaxesProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "StateTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function StateTaxes_2(input: StateTaxesProps_2 & Pick): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "StateTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function StateTaxes_3(input: StateTaxesProps_3 & Pick): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "StateTaxesFormProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "StateTaxesForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function StateTaxesForm(props: StateTaxesFormProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "StateTaxesListProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "StateTaxesList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function StateTaxesList(props: StateTaxesListProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "StateTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -type StateTaxesProps_2 = Omit, 'children'> & { - employeeId: string; - onEvent: BaseComponentInterface['onEvent']; -}; - -// Warning: (ae-missing-release-tag) "StateTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -type StateTaxesProps_3 = Omit, 'children'> & { - employeeId: string; - isAdmin?: boolean; - onEvent: BaseComponentInterface['onEvent']; -}; - -// Warning: (ae-missing-release-tag) "StateTaxFieldsGroup" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface StateTaxFieldsGroup { - // (undocumented) - questions: StateTaxQuestionFieldEntry[]; - // (undocumented) - state: string; -} - -// Warning: (ae-forgotten-export) The symbol "SharedQuestionMetadata" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "StateTaxQuestionFieldEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type StateTaxQuestionFieldEntry = ({ - type: 'select'; - Field: ComponentType; -} & SharedQuestionMetadata) | ({ - type: 'radio'; - Field: ComponentType; -} & SharedQuestionMetadata) | ({ - type: 'text'; - Field: ComponentType; -} & SharedQuestionMetadata) | ({ - type: 'number'; - Field: ComponentType; -} & SharedQuestionMetadata) | ({ - type: 'currency'; - Field: ComponentType; -} & SharedQuestionMetadata) | ({ - type: 'date'; - Field: ComponentType; -} & SharedQuestionMetadata); - -// Warning: (ae-missing-release-tag) "StateTaxQuestionVariant" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export type StateTaxQuestionVariant = 'select' | 'radio' | 'text' | 'number' | 'currency' | 'date'; - -// Warning: (ae-missing-release-tag) "StateTaxValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type StateTaxValue = string | number | boolean | Date | null | undefined; - -// Warning: (ae-forgotten-export) The symbol "WARiskClassCode" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "StateWcClassCodeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type StateWcClassCodeFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "StateWcCoveredFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type StateWcCoveredFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "Street1FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type Street1FieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "Street2FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type Street2FieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "SubmitStateForErrorHandling" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export type SubmitStateForErrorHandling = { - submitError: SDKError | null; - setSubmitError: (error: SDKError | null) => void; -}; - -// Warning: (ae-missing-release-tag) "SUPPORTED_REQUIRED_ATTR_KEYS" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export const SUPPORTED_REQUIRED_ATTR_KEYS: readonly ["case_number", "order_number", "remittance_number"]; - -// Warning: (ae-missing-release-tag) "SupportedRequiredAttrKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type SupportedRequiredAttrKey = (typeof SUPPORTED_REQUIRED_ATTR_KEYS)[number]; - -// Warning: (ae-missing-release-tag) "SwitchHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function SwitchHookField(input: SwitchHookFieldProps): ReactElement>; - -// Warning: (ae-missing-release-tag) "SwitchHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface SwitchHookFieldProps extends BaseFieldProps { - // (undocumented) - FieldComponent?: ComponentType; - // (undocumented) - formHookResult?: FormHookResult; - // (undocumented) - name: string; - // (undocumented) - validationMessages?: ValidationMessages; -} - -// Warning: (ae-missing-release-tag) "SwitchProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface SwitchProps extends SharedHorizontalFieldLayoutProps, Pick, 'name' | 'id'>, Pick { - className?: string; - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - label: string; - onBlur?: () => void; - onChange?: (checked: boolean) => void; - value?: boolean; -} - -// Warning: (ae-missing-release-tag) "TableData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface TableData { - content: ReactNode; - key: string; -} - -// Warning: (ae-missing-release-tag) "TableProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface TableProps extends Pick, 'className' | 'aria-label' | 'id' | 'role' | 'aria-labelledby' | 'aria-describedby'> { - emptyState?: ReactNode; - footer?: TableData[]; - hasCheckboxColumn?: boolean; - headers: TableData[]; - isWithinBox?: boolean; - rows: TableRow[]; -} - -// Warning: (ae-missing-release-tag) "TableRow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface TableRow { - data: TableData[]; - key: string; -} - -// Warning: (ae-missing-release-tag) "TabsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export interface TabsProps { - 'aria-label'?: string; - 'aria-labelledby'?: string; - className?: string; - onSelectionChange: (id: string) => void; - selectedId?: string; - // Warning: (ae-forgotten-export) The symbol "TabProps" needs to be exported by the entry point index.d.ts - tabs: TabProps[]; -} - -// Warning: (ae-forgotten-export) The symbol "TaxesProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "Taxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public @deprecated (undocumented) -function Taxes(props: TaxesProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "TerminateEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function TerminateEmployee(props: TerminateEmployeeProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "TerminateEmployeeProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface TerminateEmployeeProps extends BaseComponentInterface<'Employee.Terminations.TerminateEmployee'> { - // (undocumented) - companyId: string; - // (undocumented) - employeeId: string; -} - -// Warning: (ae-missing-release-tag) "TerminationFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const TerminationFlow: (input: TerminationFlowProps) => JSX_2.Element; - -// Warning: (ae-missing-release-tag) "TerminationFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface TerminationFlowProps extends BaseComponentInterface { - // (undocumented) - companyId: string; - // (undocumented) - employeeId: string; -} - -// Warning: (ae-missing-release-tag) "TerminationSummary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function TerminationSummary(props: TerminationSummaryProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "TerminationSummaryProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface TerminationSummaryProps extends BaseComponentInterface<'Employee.Terminations.TerminationSummary'> { - // (undocumented) - companyId: string; - // (undocumented) - employeeId: string; - // (undocumented) - payrollOption?: PayrollOption; - // (undocumented) - payrollUuid?: string; -} - -// Warning: (ae-missing-release-tag) "TextAreaProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface TextAreaProps extends SharedFieldLayoutProps, Pick, 'name' | 'id' | 'placeholder' | 'className' | 'rows' | 'cols'>, Pick, 'aria-describedby'> { - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - onBlur?: () => void; - onChange?: (value: string) => void; - value?: string; -} - -// Warning: (ae-missing-release-tag) "TextInputHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function TextInputHookField(input: TextInputHookFieldProps): ReactElement>; - -// Warning: (ae-missing-release-tag) "TextInputHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface TextInputHookFieldProps extends BaseFieldProps { - // (undocumented) - FieldComponent?: ComponentType; - // (undocumented) - formHookResult?: FormHookResult; - // (undocumented) - name: string; - // (undocumented) - placeholder?: string; - // (undocumented) - transform?: (value: string) => string; - // (undocumented) - validationMessages?: ValidationMessages; -} - -// Warning: (ae-missing-release-tag) "TextInputProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface TextInputProps extends SharedFieldLayoutProps, Pick, 'name' | 'id' | 'placeholder' | 'className' | 'type' | 'min' | 'max' | 'maxLength'>, Pick, 'aria-describedby' | 'aria-labelledby'> { - adornmentEnd?: InputProps['adornmentEnd']; - adornmentStart?: InputProps['adornmentStart']; - inputRef?: Ref; - isDisabled?: boolean; - isInvalid?: boolean; - onBlur?: () => void; - onChange?: (value: string) => void; - value?: string; -} - -// Warning: (ae-missing-release-tag) "TextProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface TextProps extends Pick, 'className' | 'id'> { - as?: 'p' | 'span' | 'div' | 'pre'; - children?: ReactNode; - size?: 'xs' | 'sm' | 'md' | 'lg'; - textAlign?: 'start' | 'center' | 'end'; - variant?: 'supporting' | 'leading'; - weight?: 'regular' | 'medium' | 'semibold' | 'bold'; -} - -// Warning: (ae-missing-release-tag) "TextStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type TextStateTaxFieldProps = BaseStateTaxFieldProps & { - placeholder?: string; - FieldComponent?: ComponentType; -}; - -declare namespace TimeOff { - export { - PolicyList, - PolicyListProps, - PolicyTypeSelector, - PolicyTypeSelectorProps, - PolicyConfigurationForm, - PolicyConfigurationFormProps, - PolicySettingsPresentation as PolicySettings, - PolicySettingsPresentationProps as PolicySettingsProps, - AddEmployeesToPolicy, - AddEmployeesToPolicyProps, - HolidaySelectionForm, - HolidaySelectionFormProps, - AddEmployeesHoliday, - AddEmployeesHolidayProps, - ViewHolidayEmployees, - ViewHolidayEmployeesProps, - ViewHolidayPolicyDetails, - ViewHolidayPolicyDetailsProps, - ViewHolidaySchedule, - ViewHolidayScheduleProps, - HolidayPolicyDetailPresentationProps, - HolidayPolicyDetailEmployee, - TimeOffPolicyDetailPresentation, - TimeOffPolicyDetailPresentationProps, - TimeOffPolicyDetailEmployee, - PolicyDetails, - PolicySettingsDisplay, - TimeOffFlow, - TimeOffFlowProps - } -} - -// Warning: (ae-missing-release-tag) "TimeOffFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -const TimeOffFlow: (input: TimeOffFlowProps) => JSX_2.Element; - -// Warning: (ae-missing-release-tag) "TimeOffFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface TimeOffFlowProps extends BaseComponentInterface { - // (undocumented) - companyId: string; -} - -// Warning: (ae-missing-release-tag) "TimeOffPolicyDetailEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface TimeOffPolicyDetailEmployee extends EmployeeTableItem { - // (undocumented) - balance: number | null; - // (undocumented) - uuid: string; -} - -// Warning: (ae-missing-release-tag) "TimeOffPolicyDetailPresentation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function TimeOffPolicyDetailPresentation(input: TimeOffPolicyDetailPresentationProps): JSX_2.Element; - -// Warning: (ae-forgotten-export) The symbol "TimeOffPolicyDetailPresentationBaseProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "TimeOffPolicyDetailPresentationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -type TimeOffPolicyDetailPresentationProps = TimeOffPolicyDetailPresentationBaseProps & ({ - policyDetails: UnlimitedPolicyDetails; - policySettings?: never; - onChangeSettings?: never; -} | { - policyDetails: RateBasedPolicyDetails; - policySettings: PolicySettingsDisplay; - onChangeSettings?: () => void; -}); - -// Warning: (ae-missing-release-tag) "TotalAmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type TotalAmountFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "TransitionCreation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function TransitionCreation(props: TransitionCreationProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "TransitionCreationFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface TransitionCreationFormData { - // (undocumented) - checkDate: Date | null; - // (undocumented) - skipRegularDeductions: boolean; -} - -// Warning: (ae-missing-release-tag) "TransitionCreationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface TransitionCreationProps extends BaseComponentInterface<'Payroll.TransitionCreation'> { - // (undocumented) - companyId: string; - // (undocumented) - endDate: string; - // (undocumented) - payScheduleUuid: string; - // (undocumented) - startDate: string; -} - -// Warning: (ae-missing-release-tag) "TransitionFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function TransitionFlow(input: TransitionFlowProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "TransitionFlowContextInterface" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface TransitionFlowContextInterface extends FlowContextInterface { - // (undocumented) - companyId: string; - // (undocumented) - endDate: string; - // (undocumented) - payrollUuid?: string; - // (undocumented) - payScheduleUuid: string; - // (undocumented) - startDate: string; -} - -// Warning: (ae-missing-release-tag) "TransitionFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface TransitionFlowProps { - // (undocumented) - companyId: string; - // (undocumented) - endDate: string; - // (undocumented) - onEvent: OnEventType; - // (undocumented) - payrollUuid?: string; - // (undocumented) - payScheduleUuid: string; - // (undocumented) - startDate: string; -} - -// Warning: (ae-missing-release-tag) "TwoJobsFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type TwoJobsFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "TwoPercentShareholderFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type TwoPercentShareholderFieldProps = HookFieldProps; - -// Warning: (ae-missing-release-tag) "TypeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type TypeFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "UnorderedListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UnorderedListProps = BaseListProps; - -// Warning: (ae-missing-release-tag) "useBankForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useBankForm(input: UseBankFormProps): HookLoadingResult | UseBankFormReady; - -// Warning: (ae-missing-release-tag) "UseBankFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseBankFormProps { - // (undocumented) - defaultValues?: Partial; - employeeId?: string; - // (undocumented) - optionalFieldsToRequire?: BankFormOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; -} - -// Warning: (ae-missing-release-tag) "UseBankFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseBankFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: (options?: BankFormSubmitOptions) => Promise | undefined>; - }; - // (undocumented) - data: Record; - // (undocumented) - status: { - isPending: boolean; - mode: 'create'; - }; -} - -// Warning: (ae-missing-release-tag) "UseBankFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseBankFormResult = HookLoadingResult | UseBankFormReady; - -// Warning: (ae-missing-release-tag) "useChildSupportGarnishmentForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useChildSupportGarnishmentForm(input: UseChildSupportGarnishmentFormProps): UseChildSupportGarnishmentFormResult; - -// Warning: (ae-missing-release-tag) "UseChildSupportGarnishmentFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseChildSupportGarnishmentFormProps { - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId: string; - garnishmentId?: string; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; -} - -// Warning: (ae-missing-release-tag) "UseChildSupportGarnishmentFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseChildSupportGarnishmentFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: () => Promise | undefined>; - }; - // (undocumented) - data: { - agencies: StateFieldEntry[]; - counties: CountyEntry[]; - deduction: Garnishment | null; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create' | 'update'; - selectedAgency: Agencies | null; - isManualPaymentRequired: boolean; - requiredAttrKeys: ReadonlySet; - }; -} - -// Warning: (ae-missing-release-tag) "UseChildSupportGarnishmentFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseChildSupportGarnishmentFormResult = HookLoadingResult | UseChildSupportGarnishmentFormReady; - -// Warning: (ae-missing-release-tag) "useCompensationForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useCompensationForm(input: UseCompensationFormProps): HookLoadingResult | UseCompensationFormReady; - -// Warning: (ae-missing-release-tag) "UseCompensationFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseCompensationFormProps { - compensationId?: string; - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId?: string; - jobId?: string; - // (undocumented) - optionalFieldsToRequire?: CompensationOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; - withEffectiveDateField?: boolean; -} - -// Warning: (ae-missing-release-tag) "UseCompensationFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseCompensationFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: (options?: CompensationSubmitOptions) => Promise | undefined>; - }; - // (undocumented) - data: { - compensation: Compensation | null; - currentJob: Job | null; - minimumWages: MinimumWage[]; - minimumEffectiveDate: string | null; - maximumEffectiveDate: string | null; - hasPendingFutureCompensation: boolean; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create' | 'update'; - willDeleteSecondaryJobs: boolean; - }; -} - -// Warning: (ae-missing-release-tag) "UseCompensationFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseCompensationFormResult = HookLoadingResult | UseCompensationFormReady; - -// Warning: (ae-missing-release-tag) "useCurrentHomeAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useCurrentHomeAddressForm(props: UseCurrentHomeAddressFormProps): UseHomeAddressFormResult; - -// Warning: (ae-missing-release-tag) "UseCurrentHomeAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseCurrentHomeAddressFormProps = Omit; - -// Warning: (ae-missing-release-tag) "useCurrentWorkAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useCurrentWorkAddressForm(props: UseCurrentWorkAddressFormProps): UseWorkAddressFormResult; - -// Warning: (ae-missing-release-tag) "UseCurrentWorkAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseCurrentWorkAddressFormProps = Omit; - -// Warning: (ae-missing-release-tag) "useDeductionForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useDeductionForm(input: UseDeductionFormProps): UseDeductionFormResult; - -// Warning: (ae-missing-release-tag) "UseDeductionFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseDeductionFormProps { - courtOrdered: boolean; - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId: string; - garnishmentId?: string; - // (undocumented) - optionalFieldsToRequire?: DeductionFormOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; -} - -// Warning: (ae-missing-release-tag) "UseDeductionFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseDeductionFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: () => Promise | undefined>; - }; - // (undocumented) - data: { - deduction: Garnishment | null; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create' | 'update'; - isRecurring: boolean; - }; -} - -// Warning: (ae-missing-release-tag) "UseDeductionFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseDeductionFormResult = HookLoadingResult | UseDeductionFormReady; - -// Warning: (ae-missing-release-tag) "useDeriveFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function useDeriveFieldsMetadata, TFormData extends FieldValues = FieldValues>(metadataConfig: FieldsMetadataConfig, control: Control): Record; - -// Warning: (ae-missing-release-tag) "UsedPreparerFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UsedPreparerFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "useEmployeeDetailsForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useEmployeeDetailsForm(input: UseEmployeeDetailsFormProps): HookLoadingResult | UseEmployeeDetailsFormReady; - -// Warning: (ae-forgotten-export) The symbol "UseEmployeeDetailsFormSharedProps" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "UseEmployeeDetailsFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseEmployeeDetailsFormProps = (UseEmployeeDetailsFormSharedProps & { - companyId: string; - employeeId?: never; -}) | (UseEmployeeDetailsFormSharedProps & { - employeeId: string; - companyId?: string; -}); - -// Warning: (ae-forgotten-export) The symbol "EmployeeDetailsFields" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "UseEmployeeDetailsFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseEmployeeDetailsFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: (callbacks?: EmployeeDetailsSubmitCallbacks) => Promise | undefined>; - }; - // (undocumented) - data: { - employee: Employee_2 | null; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create' | 'update'; - }; -} - -// Warning: (ae-missing-release-tag) "UseEmployeeDetailsFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseEmployeeDetailsFormResult = HookLoadingResult | UseEmployeeDetailsFormReady; - -// Warning: (ae-missing-release-tag) "useEmployeeStateTaxesForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useEmployeeStateTaxesForm(input: UseEmployeeStateTaxesFormProps): UseEmployeeStateTaxesFormResult; - -// Warning: (ae-missing-release-tag) "UseEmployeeStateTaxesFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseEmployeeStateTaxesFormProps { - // (undocumented) - employeeId: string; - isAdmin?: boolean; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; -} - -// Warning: (ae-missing-release-tag) "UseEmployeeStateTaxesFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseEmployeeStateTaxesFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: () => Promise | undefined>; - }; - // (undocumented) - data: { - employeeStateTaxes: EmployeeStateTaxesList[]; - }; - // (undocumented) - form: BaseFormHookReady['form'] & { - Fields: StateTaxFieldsGroup[]; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'update'; - }; -} - -// Warning: (ae-missing-release-tag) "UseEmployeeStateTaxesFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseEmployeeStateTaxesFormResult = HookLoadingResult | UseEmployeeStateTaxesFormReady; - -// Warning: (ae-missing-release-tag) "useFederalTaxesForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useFederalTaxesForm(input: UseFederalTaxesFormProps): HookLoadingResult | UseFederalTaxesFormReady; - -// Warning: (ae-missing-release-tag) "UseFederalTaxesFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseFederalTaxesFormProps { - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId: string; - // (undocumented) - optionalFieldsToRequire?: FederalTaxesOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; -} - -// Warning: (ae-missing-release-tag) "UseFederalTaxesFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseFederalTaxesFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: () => Promise | undefined>; - }; - // (undocumented) - data: { - employeeFederalTax: EmployeeFederalTax; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'update'; - }; -} - -// Warning: (ae-missing-release-tag) "UseFederalTaxesFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseFederalTaxesFormResult = HookLoadingResult | UseFederalTaxesFormReady; - -// Warning: (ae-missing-release-tag) "useFieldErrorMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useFieldErrorMessage(fieldName: string, validationMessages?: ValidationMessages): string | undefined; - -// Warning: (ae-missing-release-tag) "useHomeAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useHomeAddressForm(input: UseHomeAddressFormProps): HookLoadingResult | UseHomeAddressFormReady; - -// Warning: (ae-missing-release-tag) "UseHomeAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseHomeAddressFormProps { - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId: string; - homeAddressUuid?: string; - initialAddress?: EmployeeAddress; - // (undocumented) - optionalFieldsToRequire?: HomeAddressOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; - // (undocumented) - withEffectiveDateField?: boolean; -} - -// Warning: (ae-forgotten-export) The symbol "HomeAddressFields" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "UseHomeAddressFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseHomeAddressFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: (options?: HomeAddressSubmitOptions) => Promise | undefined>; - }; - // (undocumented) - data: { - homeAddress: EmployeeAddress | null; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create' | 'update'; - }; -} - -// Warning: (ae-missing-release-tag) "UseHomeAddressFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseHomeAddressFormResult = HookLoadingResult | UseHomeAddressFormReady; - -// Warning: (ae-missing-release-tag) "useJobForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useJobForm(input: UseJobFormProps): HookLoadingResult | UseJobFormReady; - -// Warning: (ae-missing-release-tag) "UseJobFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseJobFormProps { - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId?: string; - jobId?: string; - // (undocumented) - optionalFieldsToRequire?: JobOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; - withHireDateField?: boolean; - withTitleField?: boolean; -} - -// Warning: (ae-missing-release-tag) "UseJobFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseJobFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: (options?: JobSubmitOptions) => Promise | undefined>; - }; - // (undocumented) - data: { - currentJob: Job | null; - jobs: Job[] | undefined; - employee: Employee_2 | null; - currentWorkAddress: EmployeeWorkAddress | null; - showTwoPercentShareholder: boolean; - showStateWc: boolean; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create' | 'update'; - }; -} - -// Warning: (ae-missing-release-tag) "UseJobFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseJobFormResult = HookLoadingResult | UseJobFormReady; - -// Warning: (ae-forgotten-export) The symbol "ObservabilityContextValue" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "useObservability" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const useObservability: () => ObservabilityContextValue; - -// Warning: (ae-missing-release-tag) "usePaymentMethodForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function usePaymentMethodForm(input: UsePaymentMethodFormProps): HookLoadingResult | UsePaymentMethodFormReady; - -// Warning: (ae-missing-release-tag) "UsePaymentMethodFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UsePaymentMethodFormProps { - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId: string; - // (undocumented) - optionalFieldsToRequire?: PaymentMethodFormOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; -} - -// Warning: (ae-missing-release-tag) "UsePaymentMethodFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UsePaymentMethodFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: () => Promise | undefined>; - }; - // (undocumented) - data: { - paymentMethod: EmployeePaymentMethod; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'update'; - }; -} - -// Warning: (ae-missing-release-tag) "UsePaymentMethodFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UsePaymentMethodFormResult = HookLoadingResult | UsePaymentMethodFormReady; - -// Warning: (ae-missing-release-tag) "usePayScheduleForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function usePayScheduleForm(input: UsePayScheduleFormProps): HookLoadingResult | UsePayScheduleFormReady; - -// Warning: (ae-missing-release-tag) "UsePayScheduleFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UsePayScheduleFormProps { - // (undocumented) - companyId: string; - // (undocumented) - defaultValues?: Partial; - // (undocumented) - optionalFieldsToRequire?: PayScheduleOptionalFieldsToRequire; - // (undocumented) - payScheduleId?: string; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; -} - -// Warning: (ae-forgotten-export) The symbol "PayScheduleFields" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "UsePayScheduleFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UsePayScheduleFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: () => Promise | undefined>; - }; - // (undocumented) - data: { - paySchedule: PayScheduleShow | null; - payPeriodPreview: PaySchedulePreviewPayPeriod[] | null; - payPreviewLoading: boolean; - paymentSpeedDays: number | null; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create' | 'update'; - }; -} - -// Warning: (ae-missing-release-tag) "UsePayScheduleFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UsePayScheduleFormResult = HookLoadingResult | UsePayScheduleFormReady; - -// Warning: (ae-missing-release-tag) "useSignCompanyForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useSignCompanyForm(input: UseSignCompanyFormProps): HookLoadingResult | UseSignCompanyFormReady; - -// Warning: (ae-missing-release-tag) "UseSignCompanyFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseSignCompanyFormProps { - // (undocumented) - defaultValues?: Partial; - // (undocumented) - formId: string; - // (undocumented) - optionalFieldsToRequire?: SignCompanyFormOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; -} - -// Warning: (ae-missing-release-tag) "UseSignCompanyFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseSignCompanyFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: () => Promise | undefined>; - }; - // (undocumented) - data: { - companyForm: Form; - pdfUrl: string | null; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create'; - }; -} - -// Warning: (ae-missing-release-tag) "UseSignCompanyFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseSignCompanyFormResult = HookLoadingResult | UseSignCompanyFormReady; - -// Warning: (ae-missing-release-tag) "useSignEmployeeForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useSignEmployeeForm(input: UseSignEmployeeFormProps): HookLoadingResult | UseSignEmployeeFormReady; - -// Warning: (ae-missing-release-tag) "UseSignEmployeeFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseSignEmployeeFormProps { - // (undocumented) - employeeId: string; - // (undocumented) - formId: string; -} - -// Warning: (ae-missing-release-tag) "UseSignEmployeeFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseSignEmployeeFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: () => Promise | undefined>; - addPreparer?: () => void; - removePreparer?: () => void; - }; - // (undocumented) - data: { - form: Form; - pdfUrl: string | null | undefined; - }; - // (undocumented) - form: BaseFormHookReady['form'] & { - preparers?: { - count: number; - canAdd: boolean; - canRemove: boolean; - }; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create'; - }; -} - -// Warning: (ae-missing-release-tag) "UseSignEmployeeFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseSignEmployeeFormResult = HookLoadingResult | UseSignEmployeeFormReady; - -// Warning: (ae-missing-release-tag) "useSplitPaymentsForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useSplitPaymentsForm(input: UseSplitPaymentsFormProps): HookLoadingResult | UseSplitPaymentsFormReady; - -// Warning: (ae-missing-release-tag) "UseSplitPaymentsFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseSplitPaymentsFormProps { - // (undocumented) - employeeId: string; - // (undocumented) - optionalFieldsToRequire?: SplitPaymentsFormOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; -} - -// Warning: (ae-missing-release-tag) "UseSplitPaymentsFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseSplitPaymentsFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: () => Promise | undefined>; - reorderSplits: (orderedUuids: string[]) => void; - }; - // (undocumented) - data: { - paymentMethod: EmployeePaymentMethod; - bankAccounts: EmployeeBankAccount[]; - splits: WorkingSplit[]; - remainderId: string; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'update'; - splitBy: SplitByValue; - percentageTotal: number; - hasPercentageImbalance: boolean; - }; -} - -// Warning: (ae-missing-release-tag) "UseSplitPaymentsFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseSplitPaymentsFormResult = HookLoadingResult | UseSplitPaymentsFormReady; - -// Warning: (ae-missing-release-tag) "useStateFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export function useStateFields(employeeStateTaxes: EmployeeStateTaxesList[], isAdmin: boolean): StateTaxFieldsGroup[]; - -// Warning: (ae-missing-release-tag) "useWorkAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useWorkAddressForm(input: UseWorkAddressFormProps): HookLoadingResult | UseWorkAddressFormReady; - -// Warning: (ae-missing-release-tag) "UseWorkAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseWorkAddressFormProps { - companyId?: string; - // (undocumented) - defaultValues?: Partial; - // (undocumented) - employeeId: string; - initialAddress?: EmployeeWorkAddress; - // (undocumented) - optionalFieldsToRequire?: WorkAddressOptionalFieldsToRequire; - // (undocumented) - shouldFocusError?: boolean; - // (undocumented) - validationMode?: UseFormProps['mode']; - // (undocumented) - withEffectiveDateField?: boolean; - workAddressUuid?: string; -} - -// Warning: (ae-forgotten-export) The symbol "WorkAddressFields" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "UseWorkAddressFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface UseWorkAddressFormReady extends BaseFormHookReady { - // (undocumented) - actions: { - onSubmit: (callbacks?: WorkAddressSubmitCallbacks, options?: WorkAddressSubmitOptions) => Promise | undefined>; - }; - // (undocumented) - data: { - workAddress: EmployeeWorkAddress | null; - companyLocations: Location_2[] | undefined; - }; - // (undocumented) - status: { - isPending: boolean; - mode: 'create' | 'update'; - }; -} - -// Warning: (ae-missing-release-tag) "UseWorkAddressFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type UseWorkAddressFormResult = HookLoadingResult | UseWorkAddressFormReady; - -// Warning: (ae-missing-release-tag) "ValidationMessages" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public -export type ValidationMessages = Record & Partial>; - -// Warning: (ae-missing-release-tag) "ViewHolidayEmployees" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function ViewHolidayEmployees(props: ViewHolidayEmployeesProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "ViewHolidayEmployeesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface ViewHolidayEmployeesProps extends BaseComponentInterface { - // (undocumented) - companyId: string; -} - -// Warning: (ae-missing-release-tag) "ViewHolidayPolicyDetails" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function ViewHolidayPolicyDetails(props: ViewHolidayPolicyDetailsProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "ViewHolidayPolicyDetailsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface ViewHolidayPolicyDetailsProps extends BaseComponentInterface { - // (undocumented) - companyId: string; - // (undocumented) - defaultTab?: 'holidays' | 'employees'; -} - -// Warning: (ae-missing-release-tag) "ViewHolidaySchedule" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function ViewHolidaySchedule(props: ViewHolidayScheduleProps): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "ViewHolidayScheduleProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface ViewHolidayScheduleProps extends BaseComponentInterface { - // (undocumented) - companyId: string; -} - -// Warning: (ae-missing-release-tag) "withOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function withOptions(base: FieldMetadata, options: Array<{ - label: string; - value: string; -}>, entries?: readonly TEntry[]): FieldMetadataWithOptions; - -// Warning: (ae-missing-release-tag) "WorkAddress" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -function WorkAddress(input: WorkAddressProps & BaseComponentInterface): JSX_2.Element; - -// Warning: (ae-missing-release-tag) "WorkAddressErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type WorkAddressErrorCode = (typeof WorkAddressErrorCodes)[keyof typeof WorkAddressErrorCodes]; - -// Warning: (ae-missing-release-tag) "WorkAddressErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const WorkAddressErrorCodes: { - readonly REQUIRED: "REQUIRED"; -}; - -// Warning: (ae-forgotten-export) The symbol "fieldValidators_6" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "WorkAddressField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type WorkAddressField = keyof typeof fieldValidators_6; - -// Warning: (ae-missing-release-tag) "WorkAddressFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type WorkAddressFieldsMetadata = UseWorkAddressFormReady['form']['fieldsMetadata']; - -// Warning: (ae-missing-release-tag) "WorkAddressFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type WorkAddressFormData = { - [K in keyof typeof fieldValidators_6]: z.infer<(typeof fieldValidators_6)[K]>; -}; - -// Warning: (ae-missing-release-tag) "WorkAddressFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type WorkAddressFormFields = UseWorkAddressFormReady['form']['Fields']; - -// Warning: (ae-missing-release-tag) "WorkAddressFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type WorkAddressFormOutputs = WorkAddressFormData; - -// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_5" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "WorkAddressOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type WorkAddressOptionalFieldsToRequire = OptionalFieldsToRequire; - -// Warning: (ae-missing-release-tag) "WorkAddressProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -interface WorkAddressProps extends CommonComponentInterface<'Employee.WorkAddress.Management'> { - // (undocumented) - employeeId: string; - // (undocumented) - onEvent: BaseComponentInterface['onEvent']; -} - -// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type WorkAddressRequiredValidation = typeof WorkAddressErrorCodes.REQUIRED; - -// Warning: (ae-missing-release-tag) "WorkAddressSubmitCallbacks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface WorkAddressSubmitCallbacks { - // (undocumented) - onWorkAddressCreated?: (workAddress: EmployeeWorkAddress) => void; - // (undocumented) - onWorkAddressUpdated?: (workAddress: EmployeeWorkAddress) => void; -} - -// Warning: (ae-missing-release-tag) "WorkAddressSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface WorkAddressSubmitOptions { - // (undocumented) - effectiveDate?: string; - // (undocumented) - employeeId?: string; -} - -// Warning: (ae-missing-release-tag) "WorkingSplit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export interface WorkingSplit { - // (undocumented) - hiddenAccountNumber: string | null; - // (undocumented) - name: string | null; - // (undocumented) - priority: number; - // (undocumented) - splitAmount: number | null; - // (undocumented) - uuid: string; -} - -// Warning: (ae-missing-release-tag) "ZipFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ZipFieldProps = HookFieldProps>; - -// Warning: (ae-missing-release-tag) "ZipValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export type ZipValidation = (typeof HomeAddressErrorCodes)['REQUIRED' | 'INVALID_ZIP']; - -// Warnings were encountered during analysis: -// -// dist/partner-hook-utils/types.d.ts:117:13 - (ae-forgotten-export) The symbol "FieldElementRegistry" needs to be exported by the entry point index.d.ts - -// (No @packageDocumentation comment for this package) - -``` +## API Report File for "@gusto/embedded-react-sdk" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { AfterErrorContext } from '@gusto/embedded-api/hooks/types'; +import { AfterErrorHook } from '@gusto/embedded-api/hooks/types'; +import { AfterSuccessContext } from '@gusto/embedded-api/hooks/types'; +import { AfterSuccessHook } from '@gusto/embedded-api/hooks/types'; +import { Agencies } from '@gusto/embedded-api/models/components/childsupportdata'; +import { AnchorHTMLAttributes } from 'react'; +import { AriaAttributes } from 'react'; +import { BeforeCreateRequestContext } from '@gusto/embedded-api/hooks/types'; +import { BeforeCreateRequestHook } from '@gusto/embedded-api/hooks/types'; +import { BeforeRequestContext } from '@gusto/embedded-api/hooks/types'; +import { BeforeRequestHook } from '@gusto/embedded-api/hooks/types'; +import { ButtonHTMLAttributes } from 'react'; +import { Compensation } from '@gusto/embedded-api/models/components/compensation'; +import { ComponentType } from 'react'; +import { Contractor as Contractor_2 } from '@gusto/embedded-api/models/components/contractor'; +import { ContractorAddress } from '@gusto/embedded-api/models/components/contractoraddress'; +import { Control } from 'react-hook-form'; +import { CustomTypeOptions } from 'i18next'; +import { default as default_2 } from 'react'; +import { Employee as Employee_2 } from '@gusto/embedded-api/models/components/employee'; +import { EmployeeAddress } from '@gusto/embedded-api/models/components/employeeaddress'; +import { EmployeeBankAccount } from '@gusto/embedded-api/models/components/employeebankaccount'; +import { EmployeeFederalTax } from '@gusto/embedded-api/models/components/employeefederaltax'; +import { EmployeePaymentMethod } from '@gusto/embedded-api/models/components/employeepaymentmethod'; +import { EmployeeStateTaxesList } from '@gusto/embedded-api/models/components/employeestatetaxeslist'; +import { EmployeeStateTaxQuestion } from '@gusto/embedded-api/models/components/employeestatetaxquestion'; +import { EmployeeWorkAddress } from '@gusto/embedded-api/models/components/employeeworkaddress'; +import { ErrorInfo } from 'react'; +import { FallbackProps } from 'react-error-boundary'; +import { FieldsetHTMLAttributes } from 'react'; +import { FieldValues } from 'react-hook-form'; +import { FlsaStatusType } from '@gusto/embedded-api/models/components/flsastatustype'; +import { FocusEvent as FocusEvent_2 } from 'react'; +import { Form } from '@gusto/embedded-api/models/components/form'; +import { Garnishment } from '@gusto/embedded-api/models/components/garnishment'; +import { GarnishmentType } from '@gusto/embedded-api/models/components/garnishment'; +import { HTMLAttributes } from 'react'; +import { InputHTMLAttributes } from 'react'; +import { Job } from '@gusto/embedded-api/models/components/job'; +import { JSX } from 'react'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { JSXElementConstructor } from 'react'; +import { Location as Location_2 } from '@gusto/embedded-api/models/components/location'; +import { MinimumWage } from '@gusto/embedded-api/models/components/minimumwage'; +import { PaymentPeriod } from '@gusto/embedded-api/models/components/garnishmentchildsupport'; +import { PaymentUnit } from '@gusto/embedded-api/models/components/compensation'; +import { PayrollPayPeriodType } from '@gusto/embedded-api/models/components/payrollpayperiodtype'; +import { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api/models/components/payschedulepreviewpayperiod'; +import { PayScheduleShow } from '@gusto/embedded-api/models/components/payscheduleshow'; +import { PolicyType as PolicyType_2 } from '@gusto/embedded-api/models/components/timeoffpolicy'; +import { QueryClient } from '@tanstack/react-query'; +import { ReactElement } from 'react'; +import { ReactNode } from 'react'; +import { Ref } from 'react'; +import { RefObject } from 'react'; +import { SelectHTMLAttributes } from 'react'; +import { Signatory } from '@gusto/embedded-api/models/components/signatory'; +import { SyntheticEvent } from 'react'; +import { TableHTMLAttributes } from 'react'; +import { TextareaHTMLAttributes } from 'react'; +import { UseFormProps } from 'react-hook-form'; +import { UseFormReturn } from 'react-hook-form'; +import { UseQueryResult } from '@tanstack/react-query'; +import { z } from 'zod'; + +// Warning: (ae-missing-release-tag) "ACCOUNT_TYPES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ACCOUNT_TYPES: readonly ["Checking", "Savings"]; + +// Warning: (ae-missing-release-tag) "AccountNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AccountNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AccountNumberValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AccountNumberValidation = (typeof BankFormErrorCodes)[keyof Pick]; + +// Warning: (ae-missing-release-tag) "AccountType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AccountType = (typeof ACCOUNT_TYPES)[number]; + +// Warning: (ae-missing-release-tag) "AccountTypeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AccountTypeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AddEmployeesHoliday" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function AddEmployeesHoliday(props: AddEmployeesHolidayProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "BaseComponentInterface" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "AddEmployeesHolidayProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface AddEmployeesHolidayProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "AddEmployeesToPolicy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function AddEmployeesToPolicy(props: AddEmployeesToPolicyProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "AddEmployeesToPolicyProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface AddEmployeesToPolicyProps extends BaseComponentInterface { + // (undocumented) + companyId: string; + // (undocumented) + policyId: string; + // Warning: (ae-forgotten-export) The symbol "CreatableTimeOffPolicyType" needs to be exported by the entry point index.d.ts + // + // (undocumented) + policyType: CreatableTimeOffPolicyType; +} + +// Warning: (ae-forgotten-export) The symbol "AddressProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Address" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Address(props: AddressProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "AdjustForMinimumWageFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AdjustForMinimumWageFieldProps = HookFieldProps; + +export { AfterErrorContext } + +export { AfterErrorHook } + +export { AfterSuccessContext } + +export { AfterSuccessHook } + +// Warning: (ae-missing-release-tag) "AlertProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface AlertProps { + action?: ReactNode; + children?: ReactNode; + className?: string; + disableScrollIntoView?: boolean; + icon?: ReactNode; + label: string; + onDismiss?: () => void; + status?: 'info' | 'success' | 'warning' | 'error'; +} + +// Warning: (ae-missing-release-tag) "AnchorEndOfPayPeriodFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AnchorEndOfPayPeriodFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AnchorPayDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AnchorPayDateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AnnualMaximumFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type AnnualMaximumFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "APIConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface APIConfig { + // (undocumented) + baseUrl: string; + // (undocumented) + headers?: HeadersInit; + // (undocumented) + hooks?: SDKHooks; + // (undocumented) + observability?: ObservabilityHook; +} + +// Warning: (ae-missing-release-tag) "ApiPayrollBlocker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ApiPayrollBlocker { + // (undocumented) + key: string; + // (undocumented) + message?: string; +} + +// Warning: (ae-missing-release-tag) "ApiProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function ApiProvider(input: ApiProviderProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ApiProviderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ApiProviderProps { + // (undocumented) + children: React.ReactNode; + // (undocumented) + headers?: HeadersInit; + // (undocumented) + hooks?: SDKHooks; + // (undocumented) + queryClient?: QueryClient; + // (undocumented) + url: string; +} + +// Warning: (ae-forgotten-export) The symbol "AssignSignatoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "AssignSignatory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function AssignSignatory(props: AssignSignatoryProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "BadgeProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BadgeProps extends Pick, 'className' | 'id' | 'aria-label'> { + children: ReactNode; + dismissAriaLabel?: string; + isDisabled?: boolean; + onDismiss?: () => void; + status?: 'success' | 'warning' | 'error' | 'info'; +} + +// Warning: (ae-forgotten-export) The symbol "BankAccountProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "BankAccount" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function BankAccount(props: BankAccountProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_8" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "BankFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormData = { + [K in keyof typeof fieldValidators_8]: z.infer<(typeof fieldValidators_8)[K]>; +}; + +// Warning: (ae-missing-release-tag) "BankFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormErrorCode = (typeof BankFormErrorCodes)[keyof typeof BankFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "BankFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const BankFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly INVALID_ROUTING_NUMBER: "INVALID_ROUTING_NUMBER"; + readonly INVALID_ACCOUNT_NUMBER: "INVALID_ACCOUNT_NUMBER"; +}; + +// Warning: (ae-missing-release-tag) "BankFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormField = keyof typeof fieldValidators_8; + +// Warning: (ae-missing-release-tag) "BankFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BankFormFields { + // Warning: (ae-forgotten-export) The symbol "AccountNumberField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + AccountNumber: typeof AccountNumberField; + // Warning: (ae-forgotten-export) The symbol "AccountTypeField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + AccountType: typeof AccountTypeField; + // Warning: (ae-forgotten-export) The symbol "NameField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Name: typeof NameField; + // Warning: (ae-forgotten-export) The symbol "RoutingNumberField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + RoutingNumber: typeof RoutingNumberField; +} + +// Warning: (ae-missing-release-tag) "BankFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormFieldsMetadata = UseBankFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "OptionalFieldsToRequire" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_7" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "BankFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "BankFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormOutputs = BankFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type BankFormRequiredValidation = typeof BankFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "BankFormSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BankFormSubmitOptions { + employeeId?: string; +} + +// Warning: (ae-missing-release-tag) "BannerProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BannerProps extends Pick, 'className' | 'id' | 'aria-label'> { + children: ReactNode; + status?: 'warning' | 'error'; + title: ReactNode; +} + +// Warning: (ae-missing-release-tag) "BaseFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BaseFieldProps { + // (undocumented) + description?: default_2.ReactNode; + // (undocumented) + label: string; +} + +// Warning: (ae-missing-release-tag) "BaseFormHookReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface BaseFormHookReady> { + // (undocumented) + actions: Record; + // (undocumented) + data: Record; + // (undocumented) + errorHandling: HookErrorHandling; + // (undocumented) + form: { + Fields: TFields; + fieldsMetadata: TFieldsMetadata; + hookFormInternals: HookFormInternals; + getFormSubmissionValues: () => Record | undefined; + }; + // (undocumented) + isLoading: false; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "BaseHookReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface BaseHookReady = Record, TStatus extends Record = Record> { + // (undocumented) + data: TData; + // (undocumented) + errorHandling: HookErrorHandling; + // (undocumented) + isLoading: false; + // (undocumented) + status: TStatus; +} + +export { BeforeCreateRequestContext } + +export { BeforeCreateRequestHook } + +export { BeforeRequestContext } + +export { BeforeRequestHook } + +// Warning: (ae-missing-release-tag) "BoxHeaderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BoxHeaderProps { + // (undocumented) + action?: ReactNode; + // (undocumented) + description?: ReactNode; + // (undocumented) + headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; + // (undocumented) + title: ReactNode; +} + +// Warning: (ae-missing-release-tag) "BoxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BoxProps { + // (undocumented) + children: ReactNode; + // (undocumented) + className?: string; + // (undocumented) + footer?: ReactNode; + // (undocumented) + header?: ReactNode; + // (undocumented) + withPadding?: boolean; +} + +// Warning: (ae-missing-release-tag) "BreadcrumbsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface BreadcrumbsProps { + 'aria-label'?: string; + // Warning: (ae-forgotten-export) The symbol "Breadcrumb" needs to be exported by the entry point index.d.ts + breadcrumbs: Breadcrumb[]; + className?: string; + currentBreadcrumbId?: string; + isSmallContainer?: boolean; + onClick?: (id: string) => void; +} + +// Warning: (ae-missing-release-tag) "ButtonIconProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ButtonIconProps = ButtonProps & { + 'aria-label': string; +}; + +// Warning: (ae-missing-release-tag) "ButtonProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ButtonProps extends Pick, 'name' | 'id' | 'className' | 'type' | 'onClick' | 'onKeyDown' | 'onKeyUp' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'form' | 'title' | 'tabIndex'> { + buttonRef?: Ref; + children?: ReactNode; + icon?: ReactNode; + isDisabled?: boolean; + isLoading?: boolean; + onBlur?: (e: FocusEvent_2) => void; + onFocus?: (e: FocusEvent_2) => void; + variant?: 'primary' | 'secondary' | 'tertiary' | 'error'; +} + +// Warning: (ae-missing-release-tag) "CalendarPreviewProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CalendarPreviewProps = { + highlightDates?: Array<{ + date: Date; + highlightColor: 'primary' | 'secondary'; + label: string; + }>; + dateRange: { + start: Date; + end: Date; + label: string; + }; +}; + +// Warning: (ae-missing-release-tag) "CardProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CardProps { + action?: ReactNode; + children: ReactNode; + className?: string; + menu?: ReactNode; +} + +// Warning: (ae-missing-release-tag) "CaseNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CaseNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "CheckboxGroupOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CheckboxGroupOption { + description?: React.ReactNode; + isDisabled?: boolean; + label: React.ReactNode; + value: string; +} + +// Warning: (ae-forgotten-export) The symbol "SharedFieldLayoutProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CheckboxGroupProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CheckboxGroupProps extends SharedFieldLayoutProps, Pick, 'className'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onChange?: (value: string[]) => void; + options: Array; + value?: string[]; +} + +// Warning: (ae-missing-release-tag) "CheckboxHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function CheckboxHookField(input: CheckboxHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "CheckboxHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CheckboxHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + name: string; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-forgotten-export) The symbol "SharedHorizontalFieldLayoutProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CheckboxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CheckboxProps extends SharedHorizontalFieldLayoutProps, Pick, 'name' | 'id' | 'className'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onBlur?: () => void; + onChange?: (value: boolean) => void; + value?: boolean; +} + +// Warning: (ae-missing-release-tag) "AmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentAmountFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentAmountValidation = ChildSupportGarnishmentRequiredValidation | ChildSupportGarnishmentPercentValidation; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentFormData = { + [K in keyof typeof fieldValidators_2]: z.infer<(typeof fieldValidators_2)[K]>; +}; + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentFormErrorCode = (typeof ChildSupportGarnishmentFormErrorCodes)[keyof typeof ChildSupportGarnishmentFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ChildSupportGarnishmentFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly NEGATIVE_AMOUNT: "NEGATIVE_AMOUNT"; + readonly PERCENT_OUT_OF_RANGE: "PERCENT_OUT_OF_RANGE"; +}; + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ChildSupportGarnishmentFormFields { + // Warning: (ae-forgotten-export) The symbol "AmountField_2" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Amount: typeof AmountField_2; + // Warning: (ae-forgotten-export) The symbol "CaseNumberField" needs to be exported by the entry point index.d.ts + CaseNumber: typeof CaseNumberField | undefined; + // Warning: (ae-forgotten-export) The symbol "FipsCodeField" needs to be exported by the entry point index.d.ts + FipsCode: typeof FipsCodeField | undefined; + // Warning: (ae-forgotten-export) The symbol "OrderNumberField" needs to be exported by the entry point index.d.ts + OrderNumber: typeof OrderNumberField | undefined; + // Warning: (ae-forgotten-export) The symbol "PaymentPeriodField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + PaymentPeriod: typeof PaymentPeriodField; + // Warning: (ae-forgotten-export) The symbol "PayPeriodMaximumField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + PayPeriodMaximum: typeof PayPeriodMaximumField; + // Warning: (ae-forgotten-export) The symbol "RemittanceNumberField" needs to be exported by the entry point index.d.ts + RemittanceNumber: typeof RemittanceNumberField | undefined; + // Warning: (ae-forgotten-export) The symbol "StateField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + State: typeof StateField; +} + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentFormFieldsMetadata = UseChildSupportGarnishmentFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "ChildSupportGarnishmentFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentFormOutputs = ChildSupportGarnishmentFormData; + +// Warning: (ae-missing-release-tag) "NegativeAmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentNegativeAmountValidation = typeof ChildSupportGarnishmentFormErrorCodes.NEGATIVE_AMOUNT; + +// Warning: (ae-missing-release-tag) "PercentValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentPercentValidation = typeof ChildSupportGarnishmentFormErrorCodes.PERCENT_OUT_OF_RANGE; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentRequiredValidation = typeof ChildSupportGarnishmentFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "StateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ChildSupportGarnishmentStateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "CityFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CityFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "QueryWithError" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "collectErrors" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function collectErrors(queries: QueryWithError[], submitError: SDKError | null): SDKError[]; + +// Warning: (ae-missing-release-tag) "ComboBoxOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ComboBoxOption { + label: string; + value: string; +} + +// Warning: (ae-missing-release-tag) "ComboBoxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ComboBoxProps extends SharedFieldLayoutProps, Pick, 'className' | 'id' | 'name' | 'placeholder'> { + allowsCustomValue?: boolean; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + label: string; + onBlur?: () => void; + onChange?: (value: string) => void; + options: ComboBoxOption[]; + portalContainer?: HTMLElement; + value?: string | null; +} + +declare namespace Company { + export { + Industry, + AssignSignatory, + CreateSignatory, + InviteSignatory, + DocumentList, + SignatureForm, + DocumentSigner, + OnboardingOverview, + Locations, + LocationForm, + PaySchedule, + FederalTaxes, + BankAccount, + StateTaxesList, + StateTaxesForm, + StateTaxes, + OnboardingFlow + } +} + +declare namespace CompanyOnboarding { + export { + OnboardingFlow, + OnboardingOverview, + DocumentSigner, + DocumentList, + SignatureForm, + Industry, + BankAccount, + Locations, + LocationForm, + PaySchedule, + FederalTaxes, + StateTaxes, + StateTaxesForm, + StateTaxesList, + AssignSignatory, + CreateSignatory, + InviteSignatory + } +} + +// Warning: (ae-forgotten-export) The symbol "CompensationProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Compensation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "Compensation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Compensation_2(props: CompensationProps): JSX_2.Element; + +// @public (undocumented) +namespace Compensation_2 { + var // Warning: (ae-forgotten-export) The symbol "JobsList" needs to be exported by the entry point index.d.ts + // + // (undocumented) + JobsList: JobsList; + var // Warning: (ae-forgotten-export) The symbol "EditCompensation" needs to be exported by the entry point index.d.ts + // + // (undocumented) + EditCompensation: EditCompensation; +} + +// Warning: (ae-missing-release-tag) "EffectiveDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationEffectiveDateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "EffectiveDateValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationEffectiveDateValidation = (typeof CompensationErrorCodes)['REQUIRED' | 'EFFECTIVE_DATE_BEFORE_HIRE' | 'EFFECTIVE_DATE_BEFORE_MIN']; + +// Warning: (ae-missing-release-tag) "CompensationErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationErrorCode = (typeof CompensationErrorCodes)[keyof typeof CompensationErrorCodes]; + +// Warning: (ae-missing-release-tag) "CompensationErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const CompensationErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly RATE_MINIMUM: "RATE_MINIMUM"; + readonly RATE_EXEMPT_THRESHOLD: "RATE_EXEMPT_THRESHOLD"; + readonly PAYMENT_UNIT_OWNER: "PAYMENT_UNIT_OWNER"; + readonly PAYMENT_UNIT_COMMISSION: "PAYMENT_UNIT_COMMISSION"; + readonly RATE_COMMISSION_ZERO: "RATE_COMMISSION_ZERO"; + readonly EFFECTIVE_DATE_BEFORE_HIRE: "EFFECTIVE_DATE_BEFORE_HIRE"; + readonly EFFECTIVE_DATE_BEFORE_MIN: "EFFECTIVE_DATE_BEFORE_MIN"; +}; + +// Warning: (ae-missing-release-tag) "CompensationFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationFieldsMetadata = UseCompensationFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_3" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CompensationFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationFormData = { + [K in keyof typeof fieldValidators_3]: z.infer<(typeof fieldValidators_3)[K]>; +}; + +// Warning: (ae-missing-release-tag) "CompensationFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CompensationFormFields { + // Warning: (ae-forgotten-export) The symbol "AdjustForMinimumWageField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + AdjustForMinimumWage: typeof AdjustForMinimumWageField | undefined; + // Warning: (ae-forgotten-export) The symbol "EffectiveDateField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + EffectiveDate: typeof EffectiveDateField | undefined; + // Warning: (ae-forgotten-export) The symbol "FlsaStatusField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + FlsaStatus: typeof FlsaStatusField | undefined; + // Warning: (ae-forgotten-export) The symbol "MinimumWageIdField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + MinimumWageId: typeof MinimumWageIdField | undefined; + // Warning: (ae-forgotten-export) The symbol "PaymentUnitField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + PaymentUnit: typeof PaymentUnitField; + // Warning: (ae-forgotten-export) The symbol "RateField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Rate: typeof RateField; + // Warning: (ae-forgotten-export) The symbol "TitleField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Title: typeof TitleField; +} + +// Warning: (ae-missing-release-tag) "CompensationFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationFormOutputs = CompensationFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CompensationOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationRequiredValidation = typeof CompensationErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "CompensationSchemaOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CompensationSchemaOptions { + hireDate?: string | null; + minEffectiveDate?: string | null; + // (undocumented) + mode?: 'create' | 'update'; + // (undocumented) + optionalFieldsToRequire?: CompensationOptionalFieldsToRequire; + withEffectiveDateField?: boolean; +} + +// Warning: (ae-missing-release-tag) "CompensationSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CompensationSubmitOptions { + compensationId?: string; + compensationVersion?: string; + effectiveDate?: string; + jobId?: string; +} + +// Warning: (ae-missing-release-tag) "TitleFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CompensationTitleFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "componentEvents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const componentEvents: { + readonly TIME_OFF_CREATE_POLICY: "timeOff/createPolicy"; + readonly TIME_OFF_VIEW_POLICY: "timeOff/viewPolicy"; + readonly TIME_OFF_POLICY_TYPE_SELECTED: "timeOff/policyTypeSelected"; + readonly TIME_OFF_POLICY_DETAILS_DONE: "timeOff/policyDetails/done"; + readonly TIME_OFF_POLICY_SETTINGS_DONE: "timeOff/policySettings/done"; + readonly TIME_OFF_POLICY_SETTINGS_BACK: "timeOff/policySettings/back"; + readonly TIME_OFF_ADD_EMPLOYEES_DONE: "timeOff/addEmployees/done"; + readonly TIME_OFF_ADD_EMPLOYEES_BACK: "timeOff/addEmployees/back"; + readonly TIME_OFF_HOLIDAY_SELECTION_DONE: "timeOff/holidaySelection/done"; + readonly TIME_OFF_HOLIDAY_ADD_EMPLOYEES_DONE: "timeOff/holidayAddEmployees/done"; + readonly TIME_OFF_VIEW_POLICY_DETAILS: "timeOff/viewPolicyDetails"; + readonly TIME_OFF_VIEW_POLICY_EMPLOYEES: "timeOff/viewPolicyEmployees"; + readonly TIME_OFF_VIEW_HOLIDAY_EMPLOYEES: "timeOff/viewHolidayEmployees"; + readonly TIME_OFF_VIEW_HOLIDAY_SCHEDULE: "timeOff/viewHolidaySchedule"; + readonly TIME_OFF_BACK_TO_LIST: "timeOff/backToList"; + readonly TIME_OFF_POLICY_CREATE_ERROR: "timeOff/policyCreate/error"; + readonly TIME_OFF_POLICY_SETTINGS_ERROR: "timeOff/policySettings/error"; + readonly TIME_OFF_ADD_EMPLOYEES_ERROR: "timeOff/addEmployees/error"; + readonly TIME_OFF_HOLIDAY_CREATE_ERROR: "timeOff/holidayCreate/error"; + readonly TIME_OFF_HOLIDAY_ADD_EMPLOYEES_ERROR: "timeOff/holidayAddEmployees/error"; + readonly TIME_OFF_EDIT_POLICY: "timeOff/editPolicy"; + readonly TIME_OFF_CHANGE_SETTINGS: "timeOff/changeSettings"; + readonly TIME_OFF_ADD_EMPLOYEES_TO_POLICY: "timeOff/addEmployeesToPolicy"; + readonly TIME_OFF_HOLIDAY_ADD_EMPLOYEES: "timeOff/holidayAddEmployees"; + readonly TIME_OFF_EDIT_HOLIDAY_POLICY: "timeOff/editHolidayPolicy"; + readonly TIME_OFF_HOLIDAY_SELECTION_EDIT_DONE: "timeOff/holidaySelection/editDone"; + readonly TIME_OFF_DELETE_POLICY_DONE: "timeOff/deletePolicy/done"; + readonly EMPLOYEE_TERMINATION_CREATED: "employee/termination/created"; + readonly EMPLOYEE_TERMINATION_UPDATED: "employee/termination/updated"; + readonly EMPLOYEE_TERMINATION_PAYROLL_CREATED: "employee/termination/payroll/created"; + readonly EMPLOYEE_TERMINATION_PAYROLL_FAILED: "employee/termination/payroll/failed"; + readonly EMPLOYEE_TERMINATION_DONE: "employee/termination/done"; + readonly EMPLOYEE_TERMINATION_CANCELLED: "employee/termination/cancelled"; + readonly EMPLOYEE_TERMINATION_EDIT: "employee/termination/edit"; + readonly EMPLOYEE_TERMINATION_RUN_PAYROLL: "employee/termination/runPayroll"; + readonly EMPLOYEE_TERMINATION_RUN_OFF_CYCLE_PAYROLL: "employee/termination/runOffCyclePayroll"; + readonly EMPLOYEE_TERMINATION_VIEW_SUMMARY: "employee/termination/viewSummary"; + readonly OFF_CYCLE_CREATED: "offCycle/created"; + readonly DISMISSAL_PAY_PERIOD_SELECTED: "dismissal/payPeriod/selected"; + readonly TRANSITION_CREATED: "transition/created"; + readonly RUN_TRANSITION_PAYROLL: "transition/runPayroll"; + readonly TRANSITION_PAYROLL_SKIPPED: "transition/payrollSkipped"; + readonly CONTRACTOR_PAYMENT_CREATE: "contractor/payments/create"; + readonly CONTRACTOR_PAYMENT_EDIT: "contractor/payments/edit"; + readonly CONTRACTOR_PAYMENT_UPDATE: "contractor/payments/update"; + readonly CONTRACTOR_PAYMENT_PREVIEW: "contractor/payments/preview"; + readonly CONTRACTOR_PAYMENT_BACK_TO_EDIT: "contractor/payments/backToEdit"; + readonly CONTRACTOR_PAYMENT_CREATED: "contractor/payments/created"; + readonly CONTRACTOR_PAYMENT_SUBMIT: "contractor/payments/submit"; + readonly CONTRACTOR_PAYMENT_VIEW: "contractor/payments/view"; + readonly CONTRACTOR_PAYMENT_VIEW_DETAILS: "contractor/payments/view/details"; + readonly CONTRACTOR_PAYMENT_CANCEL: "contractor/payments/cancel"; + readonly CONTRACTOR_PAYMENT_EXIT: "contractor/payments/exit"; + readonly CONTRACTOR_PAYMENT_RFI_RESPOND: "contractor/payments/rfi/respond"; + readonly RECOVERY_CASE_RESOLVE: "recoveryCase/resolve"; + readonly RECOVERY_CASE_RESUBMIT: "recoveryCase/resubmit"; + readonly RECOVERY_CASE_RESUBMIT_CANCEL: "recoveryCase/resubmit/cancel"; + readonly RECOVERY_CASE_RESUBMIT_DONE: "recoveryCase/resubmit/done"; + readonly INFORMATION_REQUEST_RESPOND: "informationRequest/respond"; + readonly INFORMATION_REQUEST_FORM_SUBMIT: "informationRequest/form/submit"; + readonly INFORMATION_REQUEST_FORM_CANCEL: "informationRequest/form/cancel"; + readonly INFORMATION_REQUEST_FORM_DONE: "informationRequest/form/done"; + readonly PAYROLL_WIRE_START_TRANSFER: "payroll/wire/startTransfer"; + readonly PAYROLL_WIRE_INSTRUCTIONS_DONE: "payroll/wire/instructions/done"; + readonly PAYROLL_WIRE_INSTRUCTIONS_CANCEL: "payroll/wire/instructions/cancel"; + readonly PAYROLL_WIRE_INSTRUCTIONS_SELECT: "payroll/wire/instructions/select"; + readonly PAYROLL_WIRE_FORM_DONE: "payroll/wire/form/done"; + readonly PAYROLL_WIRE_FORM_CANCEL: "payroll/wire/form/cancel"; + readonly RUN_PAYROLL_BACK: "runPayroll/back"; + readonly RUN_PAYROLL_CALCULATED: "runPayroll/calculated"; + readonly RUN_PAYROLL_CANCELLED: "runPayroll/cancelled"; + readonly RUN_PAYROLL_CANCELLED_ALERT_DISMISSED: "runPayroll/cancelled/alertDismissed"; + readonly RUN_PAYROLL_EDIT: "runPayroll/edit"; + readonly RUN_PAYROLL_EMPLOYEE_EDIT: "runPayroll/employee/edit"; + readonly RUN_PAYROLL_EMPLOYEE_SKIP: "runPayroll/employee/skip"; + readonly RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved"; + readonly RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled"; + readonly RUN_PAYROLL_SELECTED: "runPayroll/selected"; + readonly RUN_OFF_CYCLE_PAYROLL: "runPayroll/offCycle/start"; + readonly OFF_CYCLE_SELECT_REASON: "offCycle/selectReason"; + readonly OFF_CYCLE_DEDUCTIONS_CHANGE: "offCycle/deductionsChange"; + readonly RUN_PAYROLL_SUBMITTED: "runPayroll/submitted"; + readonly RUN_PAYROLL_SUBMITTING: "runPayroll/submitting"; + readonly RUN_PAYROLL_SUMMARY_VIEWED: "runPayroll/summary/viewed"; + readonly RUN_PAYROLL_RECEIPT_GET: "runPayroll/receipt/get"; + readonly RUN_PAYROLL_RECEIPT_VIEWED: "runPayroll/receipt/viewed"; + readonly RUN_PAYROLL_PROCESSED: "runPayroll/processed"; + readonly RUN_PAYROLL_PROCESSING_FAILED: "runPayroll/processingFailed"; + readonly RUN_PAYROLL_PDF_PAYSTUB_VIEWED: "runPayroll/pdfPaystub/viewed"; + readonly RUN_PAYROLL_BLOCKERS_DETECTED: "runPayroll/blockers/detected"; + readonly RUN_PAYROLL_BLOCKER_RESOLUTION_ATTEMPTED: "runPayroll/blocker/resolutionAttempted"; + readonly RUN_PAYROLL_BLOCKERS_VIEW_ALL: "runPayroll/blockers/viewAll"; + readonly RUN_PAYROLL_DATES_CONFIGURED: "runPayroll/dates/configured"; + readonly REVIEW_PAYROLL: "payroll/review"; + readonly PAYROLL_SKIPPED: "payroll/skipped"; + readonly PAYROLL_DELETED: "payroll/deleted"; + readonly PAYROLL_EXIT_FLOW: "payroll/saveAndExit"; + readonly RUN_PAYROLL_GROSS_UP_SELECTED: "runPayroll/grossUp/selected"; + readonly RUN_PAYROLL_GROSS_UP_CALCULATED: "runPayroll/grossUp/calculated"; + readonly CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated"; + readonly CONTRACTOR_ADDRESS_DONE: "contractor/address/done"; + readonly CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated"; + readonly CONTRACTOR_BANK_ACCOUNT_CREATED: "contractor/bankAccount/created"; + readonly CONTRACTOR_PAYMENT_METHOD_DONE: "contractor/paymentMethod/done"; + readonly CONTRACTOR_CREATE: "contractor/create"; + readonly CONTRACTOR_CREATED: "contractor/created"; + readonly CONTRACTOR_UPDATE: "contractor/update"; + readonly CONTRACTOR_UPDATED: "contractor/updated"; + readonly CONTRACTOR_DELETED: "contractor/deleted"; + readonly CONTRACTOR_PROFILE_DONE: "contractor/profile/done"; + readonly CONTRACTOR_NEW_HIRE_REPORT_UPDATED: "contractor/newHireReport/updated"; + readonly CONTRACTOR_NEW_HIRE_REPORT_DONE: "contractor/newHireReport/done"; + readonly CONTRACTOR_SUBMIT_DONE: "contractor/submit/done"; + readonly CONTRACTOR_ONBOARDING_STATUS_UPDATED: "contractor/onboardingStatus/updated"; + readonly CONTRACTOR_INVITE_CONTRACTOR: "contractor/invite/selfOnboarding"; + readonly CONTRACTOR_ONBOARDING_CONTINUE: "contractor/onboarding/continue"; + readonly PAY_SCHEDULE_CREATE: "paySchedule/create"; + readonly PAY_SCHEDULE_CREATED: "paySchedule/created"; + readonly PAY_SCHEDULE_UPDATE: "paySchedule/update"; + readonly PAY_SCHEDULE_UPDATED: "paySchedule/updated"; + readonly PAY_SCHEDULE_DELETE: "paySchedule/delete"; + readonly PAY_SCHEDULE_DELETED: "paySchedule/deleted"; + readonly PAY_SCHEDULE_DONE: "paySchedule/done"; + readonly COMPANY_INDUSTRY: "company/industry"; + readonly COMPANY_INDUSTRY_SELECTED: "company/industry/selected"; + readonly COMPANY_FEDERAL_TAXES_UPDATED: "company/federalTaxes/updated"; + readonly COMPANY_FEDERAL_TAXES_DONE: "company/federalTaxes/done"; + readonly COMPANY_SIGNATORY_CREATED: "company/signatory/created"; + readonly COMPANY_SIGNATORY_INVITED: "company/signatory/invited"; + readonly COMPANY_SIGNATORY_UPDATED: "company/signatory/updated"; + readonly COMPANY_CREATE_SIGNATORY_DONE: "company/signatory/createSignatory/done"; + readonly COMPANY_INVITE_SIGNATORY_DONE: "company/signatory/inviteSignatory/done"; + readonly COMPANY_ASSIGN_SIGNATORY_MODE_UPDATED: "company/signatory/assignSignatory/modeUpdated"; + readonly COMPANY_ASSIGN_SIGNATORY_DONE: "company/signatory/assignSignatory/done"; + readonly COMPANY_FORM_EDIT_SIGNATORY: "company/forms/editSignatory"; + readonly COMPANY_FORMS_DONE: "company/forms/done"; + readonly COMPANY_VIEW_FORM_TO_SIGN: "company/forms/view"; + readonly COMPANY_SIGN_FORM: "company/forms/sign/signForm"; + readonly COMPANY_SIGN_FORM_DONE: "company/forms/sign/done"; + readonly COMPANY_SIGN_FORM_BACK: "company/forms/sign/back"; + readonly COMPANY_LOCATION_CREATE: "company/location/add"; + readonly COMPANY_LOCATION_CREATED: "company/location/add/done"; + readonly COMPANY_LOCATION_EDIT: "company/location/edit"; + readonly COMPANY_LOCATION_UPDATED: "company/location/edit/done"; + readonly COMPANY_LOCATION_DONE: "company/location/done"; + readonly COMPANY_BANK_ACCOUNT_CHANGE: "company/bankAccount/change"; + readonly COMPANY_BANK_ACCOUNT_CANCEL: "company/bankAccount/cancel"; + readonly COMPANY_BANK_ACCOUNT_CREATED: "company/bankAccount/created"; + readonly COMPANY_BANK_ACCOUNT_VERIFY: "company/bankAccount/verify"; + readonly COMPANY_BANK_ACCOUNT_DONE: "company/bankAccount/done"; + readonly COMPANY_BANK_ACCOUNT_VERIFIED: "company/bankAccount/verified"; + readonly COMPANY_STATE_TAX_UPDATED: "company/stateTaxes/updated"; + readonly COMPANY_STATE_TAX_DONE: "company/stateTaxes/done"; + readonly COMPANY_STATE_TAX_EDIT: "company/stateTaxes/edit"; + readonly COMPANY_OVERVIEW_DONE: "company/overview/done"; + readonly COMPANY_OVERVIEW_CONTINUE: "company/overview/continue"; + readonly EMPLOYEE_CREATE: "employee/create"; + readonly EMPLOYEE_CREATED: "employee/created"; + readonly EMPLOYEE_UPDATE: "employee/update"; + readonly EMPLOYEE_UPDATED: "employee/updated"; + readonly EMPLOYEE_DELETED: "employee/deleted"; + readonly EMPLOYEE_DISMISS: "employee/dismiss"; + readonly EMPLOYEE_ONBOARDING_DONE: "employee/onboarding/done"; + readonly EMPLOYEE_PROFILE_DONE: "employee/profile/done"; + readonly EMPLOYEE_HOME_ADDRESS: "employee/addresses/home"; + readonly EMPLOYEE_HOME_ADDRESS_UPDATE: "employee/addresses/home/update"; + readonly EMPLOYEE_HOME_ADDRESS_CREATED: "employee/addresses/home/created"; + readonly EMPLOYEE_HOME_ADDRESS_UPDATED: "employee/addresses/home/updated"; + readonly EMPLOYEE_HOME_ADDRESS_DELETED: "employee/addresses/home/deleted"; + readonly EMPLOYEE_WORK_ADDRESS: "employee/addresses/work"; + readonly EMPLOYEE_WORK_ADDRESS_UPDATE: "employee/addresses/work/update"; + readonly EMPLOYEE_WORK_ADDRESS_CREATED: "employee/addresses/work/created"; + readonly EMPLOYEE_WORK_ADDRESS_UPDATED: "employee/addresses/work/updated"; + readonly EMPLOYEE_WORK_ADDRESS_DELETED: "employee/addresses/work/deleted"; + readonly EMPLOYEE_DEDUCTION_ADD: "employee/deductions/add"; + readonly EMPLOYEE_DEDUCTION_CREATED: "employee/deductions/created"; + readonly EMPLOYEE_DEDUCTION_UPDATED: "employee/deductions/updated"; + readonly EMPLOYEE_DEDUCTION_DELETED: "employee/deductions/deleted"; + readonly EMPLOYEE_DEDUCTION_DELETED_EMPTY: "employee/deductions/deletedEmpty"; + readonly EMPLOYEE_DEDUCTION_DONE: "employee/deductions/done"; + readonly EMPLOYEE_DEDUCTION_EDIT: "employee/deductions/edit"; + readonly EMPLOYEE_DEDUCTION_CANCEL: "employee/deductions/cancel"; + readonly EMPLOYEE_DEDUCTION_CANCEL_EMPTY: "employee/deductions/cancelEmpty"; + readonly EMPLOYEE_DEDUCTION_INCLUDE_YES: "employee/deductions/include/yes"; + readonly EMPLOYEE_DEDUCTION_INCLUDE_NO: "employee/deductions/include/no"; + readonly EMPLOYEE_COMPENSATION_CREATE: "employee/compensations/create"; + readonly EMPLOYEE_COMPENSATION_CREATED: "employee/compensations/created"; + readonly EMPLOYEE_COMPENSATION_UPDATED: "employee/compensations/updated"; + readonly EMPLOYEE_COMPENSATION_DONE: "employee/compensations/done"; + readonly EMPLOYEE_COMPENSATION_CANCEL: "employee/compensations/cancel"; + readonly EMPLOYEE_COMPENSATION_CHANGE_CANCELLED: "employee/compensations/changeCancelled"; + readonly EMPLOYEE_COMPENSATION_RETURN_TO_LIST: "employee/compensations/returnToList"; + readonly EMPLOYEE_JOB_ADD: "employee/job/add"; + readonly EMPLOYEE_JOB_ADD_ANOTHER: "employee/job/addAnother"; + readonly EMPLOYEE_JOB_EDIT: "employee/job/edit"; + readonly EMPLOYEE_PAYMENT_METHOD_UPDATED: "employee/paymentMethod/updated"; + readonly EMPLOYEE_PAYMENT_METHOD_DONE: "employee/paymentMethod/done"; + readonly EMPLOYEE_PAYMENT_METHOD_RESET: "employee/paymentMethod/reset"; + readonly EMPLOYEE_SPLIT_PAYMENT: "employee/paymentMethod/split"; + readonly EMPLOYEE_BANK_ACCOUNT_CREATE: "employee/bankAccount/create"; + readonly EMPLOYEE_BANK_ACCOUNT_CREATED: "employee/bankAccount/created"; + readonly EMPLOYEE_BANK_ACCOUNT_DELETED: "employee/bankAccount/deleted"; + readonly EMPLOYEE_FEDERAL_TAXES_EDIT: "employee/federalTaxes/edit"; + readonly EMPLOYEE_FEDERAL_TAXES_UPDATED: "employee/federalTaxes/updated"; + readonly EMPLOYEE_FEDERAL_TAXES_DONE: "employee/federalTaxes/done"; + readonly EMPLOYEE_STATE_TAXES_EDIT: "employee/stateTaxes/edit"; + readonly EMPLOYEE_STATE_TAXES_UPDATED: "employee/stateTaxes/updated"; + readonly EMPLOYEE_STATE_TAXES_DONE: "employee/stateTaxes/done"; + readonly EMPLOYEE_TAXES_DONE: "employee/taxes/done"; + readonly EMPLOYEE_SPLIT_PAYCHECK: "employee/bankAccount/split"; + readonly EMPLOYEE_JOB_CREATED: "employee/job/created"; + readonly EMPLOYEE_JOB_UPDATED: "employee/job/updated"; + readonly EMPLOYEE_JOB_DELETED: "employee/job/deleted"; + readonly EMPLOYEE_SUMMARY_VIEW: "employee/summary"; + readonly EMPLOYEES_LIST: "company/employees"; + readonly EMPLOYEE_SELF_ONBOARDING_START: "employee/selfOnboarding/start"; + readonly EMPLOYEE_VIEW_FORM_TO_SIGN: "employee/forms/view"; + readonly EMPLOYEE_SIGN_FORM: "employee/forms/sign"; + readonly EMPLOYEE_FORMS_DONE: "employee/forms/done"; + readonly EMPLOYEE_ONBOARDING_STATUS_UPDATED: "employee/onboardingStatus/updated"; + readonly EMPLOYEE_EMPLOYMENT_ELIGIBILITY_DONE: "employee/employmentEligibility/done"; + readonly EMPLOYEE_CHANGE_ELIGIBILITY_STATUS: "employee/employmentEligibility/change"; + readonly EMPLOYEE_ONBOARDING_DOCUMENTS_CONFIG_UPDATED: "employee/onboardingDocumentsConfig/updated"; + readonly EMPLOYEE_DOCUMENTS_DONE: "employee/documents/done"; + readonly EMPLOYEE_REHIRE: "employee/rehire"; + readonly EMPLOYEE_DASHBOARD_TAB_CHANGE: "employee/dashboard/tabChange"; + readonly EMPLOYEE_RETURN_TO_LIST: "employee/returnToList"; + readonly ROBOT_MACHINE_DONE: "done"; + readonly ERROR: "ERROR"; + readonly CANCEL: "CANCEL"; + readonly BREADCRUMB_NAVIGATE: "breadcrumb/navigate"; +}; + +// Warning: (ae-missing-release-tag) "ComponentsContextType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ComponentsContextType { + // (undocumented) + Alert: (props: AlertProps) => JSX.Element | null; + // (undocumented) + Badge: (props: BadgeProps) => JSX.Element | null; + // (undocumented) + Banner: (props: BannerProps) => JSX.Element | null; + // (undocumented) + Box: (props: BoxProps) => JSX.Element | null; + // (undocumented) + BoxHeader: (props: BoxHeaderProps) => JSX.Element | null; + // (undocumented) + Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element | null; + // (undocumented) + Button: (props: ButtonProps) => JSX.Element | null; + // (undocumented) + ButtonIcon: (props: ButtonIconProps) => JSX.Element | null; + // (undocumented) + CalendarPreview: (props: CalendarPreviewProps) => JSX.Element | null; + // (undocumented) + Card: (props: CardProps) => JSX.Element | null; + // (undocumented) + Checkbox: (props: CheckboxProps) => JSX.Element | null; + // (undocumented) + CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element | null; + // (undocumented) + ComboBox: (props: ComboBoxProps) => JSX.Element | null; + // (undocumented) + DatePicker: (props: DatePickerProps) => JSX.Element | null; + // Warning: (ae-forgotten-export) The symbol "DateRangePickerProps" needs to be exported by the entry point index.d.ts + // + // (undocumented) + DateRangePicker: (props: DateRangePickerProps) => JSX.Element | null; + // (undocumented) + DescriptionList: (props: DescriptionListProps) => JSX.Element | null; + // (undocumented) + Dialog: (props: DialogProps) => JSX.Element | null; + // (undocumented) + FileInput: (props: FileInputProps) => JSX.Element | null; + // (undocumented) + Heading: (props: HeadingProps) => JSX.Element | null; + // (undocumented) + Link: (props: LinkProps) => JSX.Element | null; + // (undocumented) + LoadingSpinner: (props: LoadingSpinnerProps) => JSX.Element | null; + // (undocumented) + Menu: (props: MenuProps) => JSX.Element | null; + // (undocumented) + Modal: (props: ModalProps) => JSX.Element | null; + // Warning: (ae-forgotten-export) The symbol "MultiSelectComboBoxProps" needs to be exported by the entry point index.d.ts + // + // (undocumented) + MultiSelectComboBox: (props: MultiSelectComboBoxProps) => JSX.Element | null; + // (undocumented) + NumberInput: (props: NumberInputProps) => JSX.Element | null; + // (undocumented) + OrderedList: (props: OrderedListProps) => JSX.Element | null; + // (undocumented) + PaginationControl?: (props: PaginationControlProps) => JSX.Element | null; + // (undocumented) + PayrollLoading?: (props: PayrollLoadingProps) => JSX.Element | null; + // (undocumented) + ProgressBar: (props: ProgressBarProps) => JSX.Element | null; + // (undocumented) + Radio: (props: RadioProps) => JSX.Element | null; + // (undocumented) + RadioGroup: (props: RadioGroupProps) => JSX.Element | null; + // (undocumented) + Select: (props: SelectProps) => JSX.Element | null; + // (undocumented) + Switch: (props: SwitchProps) => JSX.Element | null; + // (undocumented) + Table: (props: TableProps) => JSX.Element | null; + // (undocumented) + Tabs: (props: TabsProps) => JSX.Element | null; + // (undocumented) + Text: (props: TextProps) => JSX.Element | null; + // (undocumented) + TextArea: (props: TextAreaProps) => JSX.Element | null; + // (undocumented) + TextInput: (props: TextInputProps) => JSX.Element | null; + // (undocumented) + UnorderedList: (props: UnorderedListProps) => JSX.Element | null; +} + +// Warning: (ae-missing-release-tag) "composeErrorHandler" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function composeErrorHandler(sources: MixedErrorSource[], submitState?: SubmitStateForErrorHandling): HookErrorHandling; + +// Warning: (ae-forgotten-export) The symbol "ComposeSubmitInput" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "ComposeSubmitHandlerResult" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "composeSubmitHandler" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function composeSubmitHandler(forms: readonly [...{ + [K in keyof TForms]: ComposeSubmitInput; +}], onAllValid: () => Promise): ComposeSubmitHandlerResult; + +// Warning: (ae-missing-release-tag) "ConfirmSignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ConfirmSignatureFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "ConfirmWireDetailsInternalProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ConfirmWireDetails" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ConfirmWireDetails(input: ConfirmWireDetailsInternalProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ConfirmWireDetailsComponentType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ConfirmWireDetailsComponentType = ComponentType; + +// Warning: (ae-missing-release-tag) "ConfirmWireDetailsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ConfirmWireDetailsProps { + // (undocumented) + companyId: string; + // (undocumented) + onEvent?: BaseComponentInterface['onEvent']; + // (undocumented) + wireInId?: string; +} + +declare namespace Contractor { + export { + PaymentMethod, + Address, + ContractorList, + NewHireReport, + ContractorSubmit, + ContractorProfile, + OnboardingFlow_2 as OnboardingFlow, + PaymentFlow, + PaymentsList, + CreatePayment, + PaymentHistory, + PaymentSummary, + PaymentStatement + } +} + +// Warning: (ae-forgotten-export) The symbol "ContractorListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ContractorList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ContractorList(props: ContractorListProps & BaseComponentInterface): JSX_2.Element; + +declare namespace ContractorOnboarding { + export { + OnboardingFlow_2 as OnboardingFlow, + ContractorList, + ContractorProfile, + Address, + PaymentMethod, + NewHireReport, + ContractorSubmit + } +} + +// Warning: (ae-forgotten-export) The symbol "ContractorProfileProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ContractorProfile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ContractorProfile(props: ContractorProfileProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "ContractorSubmitProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ContractorSubmit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ContractorSubmit(props: ContractorSubmitProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "CountyEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CountyEntry = { + fipsCode: string; + county: string | null; +}; + +// Warning: (ae-missing-release-tag) "CourtesyWithholdingFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CourtesyWithholdingFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "BankFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "BuildFormSchemaResult" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createBankFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createBankFormSchema(options?: BankFormSchemaOptions): BuildFormSchemaResult< { +name: z.ZodString; +routingNumber: z.ZodString; +accountNumber: z.ZodString; +accountType: z.ZodEnum<{ +Checking: "Checking"; +Savings: "Savings"; +}>; +}>; + +// Warning: (ae-forgotten-export) The symbol "ChildSupportGarnishmentFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createChildSupportGarnishmentFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createChildSupportGarnishmentFormSchema(input?: ChildSupportGarnishmentFormSchemaOptions): BuildFormSchemaResult< { +state: z.ZodString; +fipsCode: z.ZodString; +caseNumber: z.ZodString; +orderNumber: z.ZodString; +remittanceNumber: z.ZodString; +payPeriodMaximum: z.ZodPipe, z.ZodNumber>; +amount: z.ZodPipe, z.ZodNumber>; +paymentPeriod: z.ZodEnum<{ +readonly EveryWeek: "Every week"; +readonly EveryOtherWeek: "Every other week"; +readonly TwicePerMonth: "Twice per month"; +readonly Monthly: "Monthly"; +}>; +}>; + +// Warning: (ae-missing-release-tag) "createCompensationSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createCompensationSchema(options?: CompensationSchemaOptions): BuildFormSchemaResult< { +title: z.ZodString; +flsaStatus: z.ZodOptional>; +paymentUnit: z.ZodEnum<{ +Hour: "Hour"; +Week: "Week"; +Month: "Month"; +Year: "Year"; +Paycheck: "Paycheck"; +}>; +rate: z.ZodPipe, z.ZodNumber>; +effectiveDate: z.ZodPipe, z.ZodNullable>; +adjustForMinimumWage: z.ZodBoolean; +minimumWageId: z.ZodString; +}>; + +// Warning: (ae-forgotten-export) The symbol "DeductionFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createDeductionFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createDeductionFormSchema(options: DeductionFormSchemaOptions): BuildFormSchemaResult< { +description: z.ZodString; +recurring: z.ZodPipe, z.ZodBoolean>; +deductAsPercentage: z.ZodPipe, z.ZodBoolean>; +amount: z.ZodPipe, z.ZodNumber>; +totalAmount: z.ZodPipe, z.ZodNumber>; +annualMaximum: z.ZodPipe, z.ZodNumber>; +garnishmentType: z.ZodEnum<{ +readonly ChildSupport: "child_support"; +readonly FederalTaxLien: "federal_tax_lien"; +readonly StateTaxLien: "state_tax_lien"; +readonly StudentLoan: "student_loan"; +readonly CreditorGarnishment: "creditor_garnishment"; +readonly FederalLoan: "federal_loan"; +readonly OtherGarnishment: "other_garnishment"; +}>; +}>; + +// Warning: (ae-forgotten-export) The symbol "EmployeeDetailsSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createEmployeeDetailsSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createEmployeeDetailsSchema(options?: EmployeeDetailsSchemaOptions): BuildFormSchemaResult< { +firstName: z.ZodString; +middleInitial: z.ZodString; +lastName: z.ZodString; +email: z.ZodEmail; +dateOfBirth: z.ZodISODate; +ssn: z.ZodString; +selfOnboarding: z.ZodBoolean; +}>; + +// Warning: (ae-forgotten-export) The symbol "EmployeeStateTaxesSchemaResult" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createEmployeeStateTaxesSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function createEmployeeStateTaxesSchema(employeeStateTaxes: EmployeeStateTaxesList[], options?: EmployeeStateTaxesSchemaOptions): EmployeeStateTaxesSchemaResult; + +// Warning: (ae-forgotten-export) The symbol "FederalTaxesSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createFederalTaxesSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createFederalTaxesSchema(options?: FederalTaxesSchemaOptions): BuildFormSchemaResult< { +filingStatus: z.ZodString; +twoJobs: z.ZodPipe, z.ZodBoolean>; +dependentsAmount: z.ZodPipe, z.ZodNumber>; +otherIncome: z.ZodPipe, z.ZodNumber>; +deductions: z.ZodPipe, z.ZodNumber>; +extraWithholding: z.ZodPipe, z.ZodNumber>; +}>; + +// Warning: (ae-forgotten-export) The symbol "HomeAddressSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createHomeAddressSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createHomeAddressSchema(options?: HomeAddressSchemaOptions): BuildFormSchemaResult< { +street1: z.ZodString; +street2: z.ZodString; +city: z.ZodString; +state: z.ZodString; +zip: z.ZodString; +courtesyWithholding: z.ZodBoolean; +effectiveDate: z.ZodISODate; +}>; + +// Warning: (ae-forgotten-export) The symbol "JobSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createJobSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createJobSchema(options?: JobSchemaOptions): BuildFormSchemaResult< { +title: z.ZodString; +hireDate: z.ZodPipe, z.ZodNullable>; +twoPercentShareholder: z.ZodBoolean; +stateWcCovered: z.ZodPipe, z.ZodBoolean>; +stateWcClassCode: z.ZodString; +}>; + +// Warning: (ae-forgotten-export) The symbol "CreatePaymentProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CreatePayment" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function CreatePayment(props: CreatePaymentProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentMethodFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createPaymentMethodFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createPaymentMethodFormSchema(options?: PaymentMethodFormSchemaOptions): BuildFormSchemaResult< { +type: z.ZodEnum<{ +Check: "Check"; +"Direct Deposit": "Direct Deposit"; +}>; +}>; + +// Warning: (ae-forgotten-export) The symbol "PayScheduleSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createPayScheduleSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createPayScheduleSchema(options?: PayScheduleSchemaOptions): BuildFormSchemaResult< { +customName: z.ZodString; +frequency: z.ZodEnum<{ +"Every week": "Every week"; +"Every other week": "Every other week"; +"Twice per month": "Twice per month"; +Monthly: "Monthly"; +}>; +customTwicePerMonth: z.ZodString; +anchorPayDate: z.ZodPipe, z.ZodNullable>; +anchorEndOfPayPeriod: z.ZodPipe, z.ZodNullable>; +day1: z.ZodPipe, z.ZodNumber>; +day2: z.ZodPipe, z.ZodNumber>; +}>; + +// Warning: (ae-forgotten-export) The symbol "CreateSignatoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CreateSignatory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function CreateSignatory(props: CreateSignatoryProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "SignCompanyFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createSignCompanyFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createSignCompanyFormSchema(options?: SignCompanyFormSchemaOptions): BuildFormSchemaResult< { +signature: z.ZodString; +confirmSignature: z.ZodBoolean; +}>; + +// Warning: (ae-forgotten-export) The symbol "SignEmployeeFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createSignEmployeeFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createSignEmployeeFormSchema(options?: SignEmployeeFormSchemaOptions): BuildFormSchemaResult< { +signature: z.ZodString; +confirmSignature: z.ZodBoolean; +usedPreparer: z.ZodEnum<{ +yes: "yes"; +no: "no"; +}>; +preparerFirstName: z.ZodString; +preparerLastName: z.ZodString; +preparerStreet1: z.ZodString; +preparerStreet2: z.ZodString; +preparerCity: z.ZodString; +preparerState: z.ZodString; +preparerZip: z.ZodString; +preparerSignature: z.ZodString; +preparerAgree: z.ZodBoolean; +preparer2FirstName: z.ZodString; +preparer2LastName: z.ZodString; +preparer2Street1: z.ZodString; +preparer2Street2: z.ZodString; +preparer2City: z.ZodString; +preparer2State: z.ZodString; +preparer2Zip: z.ZodString; +preparer2Signature: z.ZodString; +preparer2Agree: z.ZodBoolean; +preparer3FirstName: z.ZodString; +preparer3LastName: z.ZodString; +preparer3Street1: z.ZodString; +preparer3Street2: z.ZodString; +preparer3City: z.ZodString; +preparer3State: z.ZodString; +preparer3Zip: z.ZodString; +preparer3Signature: z.ZodString; +preparer3Agree: z.ZodBoolean; +preparer4FirstName: z.ZodString; +preparer4LastName: z.ZodString; +preparer4Street1: z.ZodString; +preparer4Street2: z.ZodString; +preparer4City: z.ZodString; +preparer4State: z.ZodString; +preparer4Zip: z.ZodString; +preparer4Signature: z.ZodString; +preparer4Agree: z.ZodBoolean; +}>; + +// Warning: (ae-forgotten-export) The symbol "SplitPaymentsFormSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createSplitPaymentsFormSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createSplitPaymentsFormSchema(options?: SplitPaymentsFormSchemaOptions): BuildFormSchemaResult< { +splitBy: z.ZodEnum<{ +Percentage: "Percentage"; +Amount: "Amount"; +}>; +splitAmount: z.ZodRecord, z.ZodNullable>>; +priority: z.ZodRecord; +}>; + +// Warning: (ae-missing-release-tag) "createStateFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createStateFields(employeeStateTaxes: EmployeeStateTaxesList[], options: CreateStateFieldsOptions): StateTaxFieldsGroup[]; + +// Warning: (ae-missing-release-tag) "CreateStateFieldsOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface CreateStateFieldsOptions { + // (undocumented) + isAdmin: boolean; +} + +// Warning: (ae-forgotten-export) The symbol "WorkAddressSchemaOptions" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "createWorkAddressSchema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function createWorkAddressSchema(options?: WorkAddressSchemaOptions): BuildFormSchemaResult< { +locationUuid: z.ZodString; +effectiveDate: z.ZodISODate; +}>; + +// Warning: (ae-forgotten-export) The symbol "BaseStateTaxFieldProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "CurrencyStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CurrencyStateTaxFieldProps = BaseStateTaxFieldProps & { + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "CustomNameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CustomNameFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "CustomTwicePerMonthFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type CustomTwicePerMonthFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DashboardFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const DashboardFlow: (input: DashboardFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "DashboardFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface DashboardFlowProps extends BaseComponentInterface { + // (undocumented) + employeeId: string; +} + +// Warning: (ae-missing-release-tag) "DateOfBirthFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DateOfBirthFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DatePickerHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function DatePickerHookField(input: DatePickerHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "DatePickerHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DatePickerHookFieldProps extends BaseFieldProps, Pick { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + name: string; + portalContainer?: DatePickerProps['portalContainer']; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "DatePickerProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DatePickerProps extends SharedFieldLayoutProps, Pick, 'className' | 'id' | 'name'> { + inputRef?: Ref; + isDateDisabled?: (date: Date) => boolean; + isDisabled?: boolean; + isInvalid?: boolean; + label: string; + maxDate?: Date; + minDate?: Date; + onBlur?: () => void; + onChange?: (value: Date | null) => void; + placeholder?: string; + portalContainer?: HTMLElement; + value?: Date | null; +} + +// Warning: (ae-missing-release-tag) "DateStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DateStateTaxFieldProps = BaseStateTaxFieldProps & { + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "Day1FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Day1FieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "Day2FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Day2FieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DayValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DayValidation = (typeof PayScheduleErrorCodes)['REQUIRED' | 'DAY_RANGE']; + +// Warning: (ae-missing-release-tag) "DeductAsPercentageFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductAsPercentageFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionAmountFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "AmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormAmountValidation = DeductionFormRequiredValidation | DeductionFormNegativeAmountValidation; + +// Warning: (ae-missing-release-tag) "CapValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormCapValidation = DeductionFormNegativeAmountValidation; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DeductionFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormData = { + [K in keyof typeof fieldValidators]: z.infer<(typeof fieldValidators)[K]>; +}; + +// Warning: (ae-missing-release-tag) "DeductionFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormErrorCode = (typeof DeductionFormErrorCodes)[keyof typeof DeductionFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "DeductionFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const DeductionFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly NEGATIVE_AMOUNT: "NEGATIVE_AMOUNT"; +}; + +// Warning: (ae-missing-release-tag) "DeductionFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DeductionFormFields { + // Warning: (ae-forgotten-export) The symbol "AmountField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Amount: typeof AmountField; + // Warning: (ae-forgotten-export) The symbol "AnnualMaximumField" needs to be exported by the entry point index.d.ts + AnnualMaximum: typeof AnnualMaximumField | undefined; + // Warning: (ae-forgotten-export) The symbol "DeductAsPercentageField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + DeductAsPercentage: typeof DeductAsPercentageField; + // Warning: (ae-forgotten-export) The symbol "DescriptionField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Description: typeof DescriptionField; + // Warning: (ae-forgotten-export) The symbol "GarnishmentTypeField" needs to be exported by the entry point index.d.ts + GarnishmentType: typeof GarnishmentTypeField | undefined; + // Warning: (ae-forgotten-export) The symbol "RecurringField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Recurring: typeof RecurringField; + // Warning: (ae-forgotten-export) The symbol "TotalAmountField" needs to be exported by the entry point index.d.ts + TotalAmount: typeof TotalAmountField | undefined; +} + +// Warning: (ae-missing-release-tag) "DeductionFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormFieldsMetadata = UseDeductionFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "NegativeAmountValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormNegativeAmountValidation = typeof DeductionFormErrorCodes.NEGATIVE_AMOUNT; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DeductionFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "DeductionFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormOutputs = DeductionFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionFormRequiredValidation = typeof DeductionFormErrorCodes.REQUIRED; + +// Warning: (ae-forgotten-export) The symbol "DeductionsProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Deductions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Deductions(input: DeductionsProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "DeductionsFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DeductionsFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DependentsAmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DependentsAmountFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DescriptionFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type DescriptionFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "DescriptionListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DescriptionListProps { + // (undocumented) + className?: string; + // Warning: (ae-forgotten-export) The symbol "DescriptionListItem" needs to be exported by the entry point index.d.ts + // + // (undocumented) + items: DescriptionListItem[]; + // (undocumented) + layout?: 'stacked' | 'horizontal'; + // (undocumented) + showSeparators?: boolean; +} + +// Warning: (ae-missing-release-tag) "DialogProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface DialogProps { + children?: ReactNode; + closeActionLabel: string; + isDestructive?: boolean; + isOpen?: boolean; + isPrimaryActionLoading?: boolean; + onClose?: () => void; + onPrimaryActionClick?: () => void; + primaryActionLabel: string; + shouldCloseOnBackdropClick?: boolean; + title?: ReactNode; +} + +// Warning: (ae-missing-release-tag) "DismissalFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DismissalFlow(input: DismissalFlowProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "FlowContextInterface" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DismissalFlowContextInterface" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface DismissalFlowContextInterface extends FlowContextInterface { + // (undocumented) + companyId: string; + // (undocumented) + employeeId?: string; + // (undocumented) + payrollUuid?: string; +} + +// Warning: (ae-missing-release-tag) "DismissalFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface DismissalFlowProps { + // (undocumented) + companyId: string; + // (undocumented) + employeeId?: string; + // Warning: (ae-forgotten-export) The symbol "OnEventType" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "EventType" needs to be exported by the entry point index.d.ts + // + // (undocumented) + onEvent: OnEventType; + // (undocumented) + payrollId?: string; +} + +// Warning: (ae-forgotten-export) The symbol "DocumentListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DocumentList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DocumentList(props: DocumentListProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "DocumentManagerProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DocumentManager" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DocumentManager(props: DocumentManagerProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "DocumentSignerProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DocumentSigner" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DocumentSigner(props: DocumentSignerProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "DocumentSignerProps_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "DocumentSigner" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function DocumentSigner_2(props: DocumentSignerProps_2): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EffectiveDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EffectiveDateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "EmailFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmailFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "EmailValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmailValidation = (typeof EmployeeDetailsErrorCodes)['REQUIRED' | 'INVALID_EMAIL' | 'EMAIL_REQUIRED_FOR_SELF_ONBOARDING']; + +declare namespace Employee { + export { + EmployeeList, + Deductions, + OnboardingSummary, + Profile, + Compensation_2 as Compensation, + FederalTaxes_2 as FederalTaxes, + FederalTaxesProps_2 as FederalTaxesProps, + StateTaxes_2 as StateTaxes, + PaymentMethod_2 as PaymentMethod, + Landing, + DocumentSigner_2 as DocumentSigner, + OnboardingFlow_3 as OnboardingFlow, + SelfOnboardingFlow, + EmployeeDocuments, + DashboardFlow, + DashboardFlowProps, + EmployeeListFlow, + EmployeeListFlowProps, + HomeAddress, + HomeAddressProps, + EmploymentEligibility, + EmploymentEligibilityProps, + TerminateEmployee, + TerminateEmployeeProps, + TerminationSummary, + TerminationSummaryProps, + TerminationFlow, + TerminationFlowProps, + PayrollOption, + WorkAddress, + WorkAddressProps, + Taxes + } +} + +// Warning: (ae-missing-release-tag) "EmployeeDetailsErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsErrorCode = (typeof EmployeeDetailsErrorCodes)[keyof typeof EmployeeDetailsErrorCodes]; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const EmployeeDetailsErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly INVALID_NAME: "INVALID_NAME"; + readonly INVALID_EMAIL: "INVALID_EMAIL"; + readonly INVALID_SSN: "INVALID_SSN"; + readonly EMAIL_REQUIRED_FOR_SELF_ONBOARDING: "EMAIL_REQUIRED_FOR_SELF_ONBOARDING"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_5" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeDetailsField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsField = Exclude; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsFieldsMetadata = UseEmployeeDetailsFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsFormData = { + [K in keyof typeof fieldValidators_5]: z.infer<(typeof fieldValidators_5)[K]>; +}; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsFormFields = UseEmployeeDetailsFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsFormOutputs = EmployeeDetailsFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_4" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeDetailsOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeDetailsRequiredValidation = typeof EmployeeDetailsErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "EmployeeDetailsSubmitCallbacks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeDetailsSubmitCallbacks { + // (undocumented) + onEmployeeCreated?: (employee: Employee_2) => void; + // (undocumented) + onEmployeeUpdated?: (employee: Employee_2) => void; + // (undocumented) + onOnboardingStatusUpdated?: (status: unknown) => void; +} + +// Warning: (ae-forgotten-export) The symbol "EmployeeDocumentsProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeDocuments" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function EmployeeDocuments(props: EmployeeDocumentsProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "EmployeeListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function EmployeeList(input: EmployeeListProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EmployeeListFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const EmployeeListFlow: (input: EmployeeListFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EmployeeListFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface EmployeeListFlowProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +declare namespace EmployeeManagement { + export { + ManagementEmployeeList as EmployeeList, + EmployeeListFlow, + EmployeeListFlowProps, + EmployeeDocuments, + DocumentManager, + DashboardFlow, + WorkAddress, + WorkAddressProps, + FederalTaxes_2 as FederalTaxes, + FederalTaxesProps_2 as FederalTaxesProps, + StateTaxes_2 as StateTaxes, + StateTaxesProps_2 as StateTaxesProps, + Profile_2 as Profile, + ProfileProps_2 as ProfileProps, + PaymentMethod_3 as PaymentMethod, + PaymentMethodProps_3 as PaymentMethodProps, + TerminateEmployee, + TerminationSummary, + TerminationFlow + } +} + +declare namespace EmployeeOnboarding { + export { + OnboardingFlow_3 as OnboardingFlow, + SelfOnboardingFlow, + EmployeeList, + OnboardingSummary, + Landing, + DocumentSigner_2 as DocumentSigner, + EmploymentEligibility, + Profile, + Compensation_2 as Compensation, + FederalTaxes_3 as FederalTaxes, + FederalTaxesProps_3 as FederalTaxesProps, + StateTaxes_3 as StateTaxes, + StateTaxesProps_3 as StateTaxesProps, + Deductions, + PaymentMethod_2 as PaymentMethod, + PaymentMethodProps_2 as PaymentMethodProps, + Taxes + } +} + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeStateTaxesErrorCode = (typeof EmployeeStateTaxesErrorCodes)[keyof typeof EmployeeStateTaxesErrorCodes]; + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const EmployeeStateTaxesErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeStateTaxesFieldsMetadata = UseEmployeeStateTaxesFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeStateTaxesFormData { + // (undocumented) + states: Record>; +} + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeStateTaxesFormFields = UseEmployeeStateTaxesFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type EmployeeStateTaxesFormOutputs = EmployeeStateTaxesFormData; + +// Warning: (ae-forgotten-export) The symbol "FieldsMetadataConfig" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesMetadataConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeStateTaxesMetadataConfig extends FieldsMetadataConfig> { + groups: Array<{ + state: string; + isWorkState: boolean; + questions: EmployeeStateTaxesQuestionMeta[]; + }>; +} + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesQuestionMeta" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeStateTaxesQuestionMeta { + // (undocumented) + apiKey: string; + // (undocumented) + formKey: string; + // (undocumented) + isAdminOnly: boolean; + // (undocumented) + isWireSelectWithBooleanOptions: boolean; + // (undocumented) + isWorkState: boolean; + // (undocumented) + state: string; + // (undocumented) + variant: StateTaxQuestionVariant; +} + +// Warning: (ae-missing-release-tag) "EmployeeStateTaxesSchemaOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface EmployeeStateTaxesSchemaOptions { + // (undocumented) + isAdmin?: boolean; +} + +// Warning: (ae-missing-release-tag) "EmploymentEligibility" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function EmploymentEligibility(props: EmploymentEligibilityProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EmploymentEligibilityProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface EmploymentEligibilityProps extends BaseComponentInterface<'Employee.EmploymentEligibility'> { + // (undocumented) + employeeId: string; +} + +// Warning: (ae-missing-release-tag) "ExtraWithholdingFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ExtraWithholdingFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "FederalTaxesProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FederalTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function FederalTaxes(props: FederalTaxesProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "FederalTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function FederalTaxes_2(input: FederalTaxesProps_2 & Pick): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "FederalTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function FederalTaxes_3(input: FederalTaxesProps_3 & Pick): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "FederalTaxesErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesErrorCode = (typeof FederalTaxesErrorCodes)[keyof typeof FederalTaxesErrorCodes]; + +// Warning: (ae-missing-release-tag) "FederalTaxesErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const FederalTaxesErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_11" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FederalTaxesField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesField = keyof typeof fieldValidators_11; + +// Warning: (ae-missing-release-tag) "FederalTaxesFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FederalTaxesFields { + // Warning: (ae-forgotten-export) The symbol "DeductionsField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Deductions: typeof DeductionsField; + // Warning: (ae-forgotten-export) The symbol "DependentsAmountField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + DependentsAmount: typeof DependentsAmountField; + // Warning: (ae-forgotten-export) The symbol "ExtraWithholdingField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + ExtraWithholding: typeof ExtraWithholdingField; + // Warning: (ae-forgotten-export) The symbol "FilingStatusField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + FilingStatus: typeof FilingStatusField; + // Warning: (ae-forgotten-export) The symbol "OtherIncomeField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + OtherIncome: typeof OtherIncomeField; + // Warning: (ae-forgotten-export) The symbol "TwoJobsField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + TwoJobs: typeof TwoJobsField; +} + +// Warning: (ae-missing-release-tag) "FederalTaxesFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesFieldsMetadata = UseFederalTaxesFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "FederalTaxesFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesFormData = { + [K in keyof typeof fieldValidators_11]: z.infer<(typeof fieldValidators_11)[K]>; +}; + +// Warning: (ae-missing-release-tag) "FederalTaxesFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesFormFields = UseFederalTaxesFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "FederalTaxesFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesFormOutputs = FederalTaxesFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_10" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FederalTaxesOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-forgotten-export) The symbol "CommonComponentInterface" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FederalTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface FederalTaxesProps_2 extends CommonComponentInterface<'Employee.FederalTaxes'> { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "FederalTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface FederalTaxesProps_3 extends CommonComponentInterface<'Employee.FederalTaxes'> { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FederalTaxesRequiredValidation = typeof FederalTaxesErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "FieldMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FieldMetadata { + // (undocumented) + hasRedactedValue?: boolean; + // (undocumented) + isDisabled?: boolean; + // (undocumented) + isRequired?: boolean; + maxDate?: string | null; + minDate?: string | null; + // (undocumented) + name: string; +} + +// Warning: (ae-missing-release-tag) "FieldMetadataWithOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FieldMetadataWithOptions extends FieldMetadata { + // (undocumented) + entries?: readonly TEntry[]; + // (undocumented) + options: Array<{ + label: string; + value: string; + }>; +} + +// Warning: (ae-missing-release-tag) "FieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FieldsMetadata = { + [key: string]: FieldMetadata | FieldMetadataWithOptions; +}; + +// Warning: (ae-missing-release-tag) "FileInputProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FileInputProps extends Omit { + 'aria-describedby'?: string; + accept?: string[]; + className?: string; + id?: string; + isDisabled?: boolean; + isInvalid?: boolean; + onBlur?: () => void; + onChange: (file: File | null) => void; + value: File | null; +} + +// Warning: (ae-missing-release-tag) "FILING_STATUS_VALUES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const FILING_STATUS_VALUES: readonly ["Single", "Married", "Head of Household", "Exempt from withholding"]; + +// Warning: (ae-missing-release-tag) "FilingStatusFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FilingStatusFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "FilingStatusValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FilingStatusValue = (typeof FILING_STATUS_VALUES)[number]; + +// Warning: (ae-missing-release-tag) "FipsCodeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FipsCodeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "FirstNameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FirstNameFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "FlsaStatusFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FlsaStatusFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "FormFieldsMetadataContextValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface FormFieldsMetadataContextValue { + // (undocumented) + errors: SDKError[]; + // (undocumented) + metadata: FieldsMetadata; +} + +// Warning: (ae-forgotten-export) The symbol "FormFieldsMetadataProviderProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "FormFieldsMetadataProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function FormFieldsMetadataProvider(input: FormFieldsMetadataProviderProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "FormHookResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@gusto/embedded-react-sdk" does not have an export "useHookFieldResolution" +// +// @public +export type FormHookResult = { + errorHandling: Pick; + form: Pick & { + hookFormInternals: { + formMethods: { + control: unknown; + }; + _fieldElementRegistry?: FieldElementRegistry; + }; + }; +}; + +// Warning: (ae-missing-release-tag) "FrequencyFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type FrequencyFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "GarnishmentTypeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type GarnishmentTypeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "getQuestionVariant" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function getQuestionVariant(question: EmployeeStateTaxQuestion): StateTaxQuestionVariant; + +// Warning: (ae-missing-release-tag) "getRequiredAttrKeys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function getRequiredAttrKeys(agency?: Agencies | null): Set; + +// Warning: (ae-missing-release-tag) "GustoApiProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface GustoApiProps extends Omit { + // (undocumented) + children?: default_2.ReactNode; + // (undocumented) + components?: Partial; + // (undocumented) + queryClient?: QueryClient; +} + +// Warning: (ae-missing-release-tag) "GustoApiProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated (undocumented) +export const GustoApiProvider: default_2.FC; + +// Warning: (ae-missing-release-tag) "GustoProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const GustoProvider: default_2.FC; + +// Warning: (ae-missing-release-tag) "GustoProviderCustomUIAdapter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const GustoProviderCustomUIAdapter: default_2.FC; + +// Warning: (ae-missing-release-tag) "GustoProviderCustomUIAdapterProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface GustoProviderCustomUIAdapterProps extends GustoProviderProps { + // (undocumented) + children?: default_2.ReactNode; +} + +// Warning: (ae-missing-release-tag) "GustoProviderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface GustoProviderProps { + // (undocumented) + components: ComponentsContextType; + // (undocumented) + config: APIConfig; + // (undocumented) + currency?: string; + // Warning: (ae-forgotten-export) The symbol "ResourceDictionary" needs to be exported by the entry point index.d.ts + // + // (undocumented) + dictionary?: ResourceDictionary; + // (undocumented) + lng?: string; + // Warning: (ae-forgotten-export) The symbol "LoadingIndicatorContextProps" needs to be exported by the entry point index.d.ts + // + // (undocumented) + LoaderComponent?: LoadingIndicatorContextProps['LoadingIndicator']; + // (undocumented) + locale?: string; + // (undocumented) + portalContainer?: HTMLElement; + // (undocumented) + queryClient?: QueryClient; + // Warning: (ae-forgotten-export) The symbol "GustoSDKTheme" needs to be exported by the entry point index.d.ts + // + // (undocumented) + theme?: GustoSDKTheme; +} + +// Warning: (ae-missing-release-tag) "HeadingProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface HeadingProps extends Pick, 'className' | 'id'> { + as: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; + children?: ReactNode; + styledAs?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; + textAlign?: 'start' | 'center' | 'end'; +} + +// Warning: (ae-missing-release-tag) "HireDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HireDateFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "EmployeeTableItem" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "HolidayPolicyDetailEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface HolidayPolicyDetailEmployee extends EmployeeTableItem { + // (undocumented) + uuid: string; +} + +// Warning: (ae-missing-release-tag) "HolidayPolicyDetailPresentationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface HolidayPolicyDetailPresentationProps { + // (undocumented) + actions?: ReactNode[]; + // (undocumented) + backLabel: string; + // Warning: (ae-forgotten-export) The symbol "EmployeeTableProps" needs to be exported by the entry point index.d.ts + // + // (undocumented) + employees: Pick, 'data' | 'searchValue' | 'onSearchChange' | 'onSearchClear' | 'searchPlaceholder' | 'itemMenu' | 'pagination' | 'isFetching' | 'emptyState'>; + // Warning: (ae-forgotten-export) The symbol "HolidayItem" needs to be exported by the entry point index.d.ts + // + // (undocumented) + holidays: HolidayItem[]; + // (undocumented) + onAddEmployee?: () => void; + // (undocumented) + onBack: () => void; + // (undocumented) + onDismissAlert?: () => void; + // (undocumented) + onTabChange: (id: string) => void; + // Warning: (ae-forgotten-export) The symbol "RemoveDialogState" needs to be exported by the entry point index.d.ts + // + // (undocumented) + removeDialog: RemoveDialogState; + // (undocumented) + selectedTabId: string; + // (undocumented) + subtitle?: string; + // (undocumented) + successAlert?: string; + // (undocumented) + title: string; +} + +// Warning: (ae-missing-release-tag) "HolidaySelectionForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function HolidaySelectionForm(props: HolidaySelectionFormProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "HolidaySelectionFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface HolidaySelectionFormProps extends BaseComponentInterface { + // (undocumented) + companyId: string; + // (undocumented) + mode?: 'create' | 'edit'; +} + +// Warning: (ae-missing-release-tag) "HomeAddress" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function HomeAddress(input: HomeAddressProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "EffectiveDateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressEffectiveDateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "HomeAddressErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressErrorCode = (typeof HomeAddressErrorCodes)[keyof typeof HomeAddressErrorCodes]; + +// Warning: (ae-missing-release-tag) "HomeAddressErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const HomeAddressErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly INVALID_ZIP: "INVALID_ZIP"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_7" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "HomeAddressField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressField = keyof typeof fieldValidators_7; + +// Warning: (ae-missing-release-tag) "HomeAddressFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressFieldsMetadata = UseHomeAddressFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "HomeAddressFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressFormData = { + [K in keyof typeof fieldValidators_7]: z.infer<(typeof fieldValidators_7)[K]>; +}; + +// Warning: (ae-missing-release-tag) "HomeAddressFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressFormFields = UseHomeAddressFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "HomeAddressFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressFormOutputs = HomeAddressFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_6" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "HomeAddressOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "HomeAddressProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface HomeAddressProps extends CommonComponentInterface<'Employee.HomeAddress.Management'> { + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type HomeAddressRequiredValidation = typeof HomeAddressErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "HomeAddressSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface HomeAddressSubmitOptions { + effectiveDate?: string; + // (undocumented) + employeeId?: string; +} + +// Warning: (ae-missing-release-tag) "HookErrorHandling" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface HookErrorHandling { + // (undocumented) + clearSubmitError: () => void; + // (undocumented) + errors: SDKError[]; + // (undocumented) + retryQueries: () => void; +} + +// Warning: (ae-missing-release-tag) "HookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type HookFieldProps = Omit; + +// Warning: (ae-missing-release-tag) "HookFormInternals" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface HookFormInternals { + _fieldElementRegistry?: FieldElementRegistry; + // (undocumented) + formMethods: UseFormReturn; +} + +// Warning: (ae-missing-release-tag) "HookLoadingResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface HookLoadingResult { + // (undocumented) + errorHandling: HookErrorHandling; + // (undocumented) + isLoading: true; +} + +// Warning: (ae-missing-release-tag) "HookSubmitResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface HookSubmitResult { + // (undocumented) + data: T; + // (undocumented) + mode: 'create' | 'update'; +} + +// Warning: (ae-forgotten-export) The symbol "IndustryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Industry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Industry(props: IndustryProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "InformationRequestFormProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "InformationRequestForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "InformationRequestForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function InformationRequestForm(props: InformationRequestFormProps): JSX_2.Element; + +// @public (undocumented) +namespace InformationRequestForm { + var // (undocumented) + Footer: (input: { + onEvent: OnEventType; + }) => JSX_2.Element; +} + +// Warning: (ae-forgotten-export) The symbol "InformationRequestListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "InformationRequestList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function InformationRequestList(props: InformationRequestListProps): JSX_2.Element; + +declare namespace InformationRequests { + export { + InformationRequestsFlow, + InformationRequestList, + InformationRequestForm + } +} + +// Warning: (ae-forgotten-export) The symbol "InformationRequestsFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "InformationRequestsFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function InformationRequestsFlow(input: InformationRequestsFlowProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "InviteSignatoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "InviteSignatory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function InviteSignatory(props: InviteSignatoryProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "JobErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobErrorCode = (typeof JobErrorCodes)[keyof typeof JobErrorCodes]; + +// Warning: (ae-missing-release-tag) "JobErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const JobErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "JobFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobFieldsMetadata = UseJobFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_4" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "JobFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobFormData = { + [K in keyof typeof fieldValidators_4]: z.infer<(typeof fieldValidators_4)[K]>; +}; + +// Warning: (ae-missing-release-tag) "JobFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface JobFormFields { + // Warning: (ae-forgotten-export) The symbol "HireDateField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + HireDate: typeof HireDateField | undefined; + // Warning: (ae-forgotten-export) The symbol "StateWcClassCodeField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + StateWcClassCode: typeof StateWcClassCodeField | undefined; + // Warning: (ae-forgotten-export) The symbol "StateWcCoveredField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + StateWcCovered: typeof StateWcCoveredField | undefined; + // Warning: (ae-forgotten-export) The symbol "JobTitleField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Title: typeof JobTitleField | undefined; + // Warning: (ae-forgotten-export) The symbol "TwoPercentShareholderField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + TwoPercentShareholder: typeof TwoPercentShareholderField | undefined; +} + +// Warning: (ae-missing-release-tag) "JobFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobFormOutputs = JobFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_3" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "JobOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "JobRequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobRequiredValidation = typeof JobErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "JobSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface JobSubmitOptions { + employeeId?: string; + hireDate?: string; +} + +// Warning: (ae-missing-release-tag) "JobTitleFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type JobTitleFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "SummaryProps_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Landing" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Landing(props: SummaryProps_2 & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "LastNameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type LastNameFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "LinkProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type LinkProps = Pick, +/** +* URL that the link points to +*/ +'href' +/** +* Specifies where to open the linked document +*/ +| 'target' +/** +* Specifies the relationship between the current document and the linked document +*/ +| 'rel' +/** +* Indicates that the link is for downloading a resource +*/ +| 'download' +/** +* Additional CSS class name +*/ +| 'className' +/** +* Unique identifier for the link +*/ +| 'id' +/** +* Handler for key down events +*/ +| 'onKeyDown' +/** +* Handler for key up events +*/ +| 'onKeyUp' +/** +* Accessible label for the link +*/ +| 'aria-label' +/** +* ID of an element that labels this link +*/ +| 'aria-labelledby' +/** +* ID of an element that describes this link +*/ +| 'aria-describedby' +/** +* Title text shown on hover +*/ +| 'title'> & { + children?: ReactNode; +}; + +// Warning: (ae-missing-release-tag) "LoadingSpinnerProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface LoadingSpinnerProps extends Pick, 'className' | 'id' | 'aria-label'> { + size?: 'lg' | 'sm'; + style?: 'inline' | 'block'; +} + +// Warning: (ae-missing-release-tag) "LocationFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type LocationFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "LocationFormProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "LocationForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function LocationForm(input: LocationFormProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "LocationsProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Locations" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Locations(input: LocationsProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "ManagementEmployeeListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "ManagementEmployeeList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ManagementEmployeeList(input: ManagementEmployeeListProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "MAX_PREPARERS" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const MAX_PREPARERS = 4; + +// Warning: (ae-forgotten-export) The symbol "DataAttributes" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "MenuItem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MenuItem extends DataAttributes { + href?: string; + icon?: ReactNode; + isDisabled?: boolean; + label: string; + onClick: () => void; +} + +// Warning: (ae-missing-release-tag) "MenuProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface MenuProps extends DataAttributes { + 'aria-label': string; + isOpen?: boolean; + items?: MenuItem[]; + onClose?: () => void; + placement?: 'top' | 'top start' | 'top end' | 'bottom' | 'bottom start' | 'bottom end' | 'left' | 'right'; + portalContainer?: HTMLElement; + triggerRef?: RefObject; +} + +// Warning: (ae-missing-release-tag) "MiddleInitialFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MiddleInitialFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "MinimumWageIdFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MinimumWageIdFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "QueryWithRefetch" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "MixedErrorSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type MixedErrorSource = QueryWithRefetch | { + errorHandling: HookErrorHandling; +}; + +// Warning: (ae-missing-release-tag) "ModalProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ModalProps { + children?: ReactNode; + containerRef?: React.RefObject; + footer?: ReactNode; + isOpen?: boolean; + onClose?: () => void; + shouldCloseOnBackdropClick?: boolean; +} + +// Warning: (ae-missing-release-tag) "NameFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NameFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "NameValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NameValidation = (typeof EmployeeDetailsErrorCodes)['REQUIRED' | 'INVALID_NAME']; + +// Warning: (ae-forgotten-export) The symbol "NewHireReportProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "NewHireReport" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function NewHireReport(props: NewHireReportProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "normalizeToSDKError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function normalizeToSDKError(error: unknown): SDKError; + +// Warning: (ae-missing-release-tag) "NumberInputHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function NumberInputHookField(input: NumberInputHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "NumberInputHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NumberInputHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + format?: NumberInputProps['format']; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + max?: NumberInputProps['max']; + // (undocumented) + min?: NumberInputProps['min']; + // (undocumented) + name: string; + // (undocumented) + placeholder?: NumberInputProps['placeholder']; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "NumberInputProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface NumberInputProps extends SharedFieldLayoutProps, Pick, 'min' | 'max' | 'name' | 'id' | 'placeholder' | 'className'> { + adornmentEnd?: InputProps['adornmentEnd']; + // Warning: (ae-forgotten-export) The symbol "InputProps" needs to be exported by the entry point index.d.ts + adornmentStart?: InputProps['adornmentStart']; + format?: 'currency' | 'decimal' | 'percent'; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + maximumFractionDigits?: number; + minimumFractionDigits?: number; + onBlur?: () => void; + onChange?: (value: number) => void; + value?: number; +} + +// Warning: (ae-missing-release-tag) "NumberStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type NumberStateTaxFieldProps = BaseStateTaxFieldProps & { + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "ObservabilityError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ObservabilityError extends SDKError { + componentName?: string; + componentStack?: string; + timestamp: number; +} + +// Warning: (ae-missing-release-tag) "ObservabilityHook" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface ObservabilityHook { + onError?: (error: ObservabilityError) => void; + onMetric?: (metric: ObservabilityMetric) => void; + sanitization?: SanitizationConfig; +} + +// Warning: (ae-missing-release-tag) "ObservabilityMetric" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ObservabilityMetric { + name: string; + tags?: Record; + timestamp: number; + unit?: ObservabilityMetricUnit; + value: number; +} + +// Warning: (ae-missing-release-tag) "ObservabilityMetricUnit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ObservabilityMetricUnit = 'ms' | 'count' | 'bytes' | 'percent'; + +// Warning: (ae-missing-release-tag) "ObservabilityProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const ObservabilityProvider: (input: ObservabilityProviderProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ObservabilityProviderProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ObservabilityProviderProps { + // (undocumented) + children: ReactNode; + // (undocumented) + observability?: ObservabilityHook; +} + +// Warning: (ae-missing-release-tag) "OffCycleCreation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OffCycleCreation(props: OffCycleCreationProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "OffCycleCreationFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleCreationFormData extends OffCyclePayPeriodDateFormData { + // (undocumented) + includeAllEmployees: boolean; + // (undocumented) + reason: OffCycleReason; + // (undocumented) + selectedEmployeeUuids: string[]; + // (undocumented) + skipRegularDeductions: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCycleCreationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleCreationProps extends BaseComponentInterface<'Payroll.OffCycleCreation'> { + // (undocumented) + companyId: string; + // (undocumented) + payrollType?: OffCyclePayrollDateType; +} + +// Warning: (ae-missing-release-tag) "OffCycleDeductionsSetting" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OffCycleDeductionsSetting(input: OffCycleDeductionsSettingProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "OffCycleDeductionsSettingChangePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleDeductionsSettingChangePayload { + // (undocumented) + skipRegularDeductions: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCycleDeductionsSettingProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleDeductionsSettingProps extends CommonComponentInterface<'Payroll.OffCycleDeductionsSetting'> { + // (undocumented) + onEvent: OnEventType; + // (undocumented) + skipRegularDeductions: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCycleFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OffCycleFlow(input: OffCycleFlowProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "OffCycleFlowContextInterface" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleFlowContextInterface extends FlowContextInterface { + // (undocumented) + companyId: string; + // (undocumented) + payrollType?: OffCycleReason; + // (undocumented) + payrollUuid?: string; + // (undocumented) + withReimbursements?: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCycleFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleFlowProps { + // (undocumented) + companyId: string; + // (undocumented) + onEvent: OnEventType; + // (undocumented) + payrollType?: OffCycleReason; + // (undocumented) + withReimbursements?: boolean; +} + +// Warning: (ae-missing-release-tag) "OffCyclePayPeriodDateFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCyclePayPeriodDateFormData { + // (undocumented) + checkDate: Date | null; + // (undocumented) + endDate: Date | null; + // (undocumented) + isCheckOnly: boolean; + // (undocumented) + startDate: Date | null; +} + +// Warning: (ae-missing-release-tag) "OffCyclePayrollDateType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type OffCyclePayrollDateType = 'bonus' | 'correction'; + +// Warning: (ae-missing-release-tag) "OffCycleReason" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type OffCycleReason = 'bonus' | 'correction'; + +// Warning: (ae-missing-release-tag) "OffCycleReasonDefaults" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleReasonDefaults { + // (undocumented) + skipDeductions: boolean; + // Warning: (ae-forgotten-export) The symbol "WithholdingType" needs to be exported by the entry point index.d.ts + // + // (undocumented) + withholdingType: WithholdingType; +} + +// Warning: (ae-missing-release-tag) "OffCycleReasonSelection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OffCycleReasonSelection(props: OffCycleReasonSelectionProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "OffCycleReasonSelectionProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface OffCycleReasonSelectionProps extends BaseComponentInterface<'Payroll.OffCycleReasonSelection'> { + // (undocumented) + companyId: string; +} + +// Warning: (ae-forgotten-export) The symbol "OnboardingFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const OnboardingFlow: (input: OnboardingFlowProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "OnboardingFlowProps_2" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const OnboardingFlow_2: (input: OnboardingFlowProps_2) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "OnboardingFlowProps_3" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const OnboardingFlow_3: (input: OnboardingFlowProps_3) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "OnboardingOverviewProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingOverview" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OnboardingOverview(props: OnboardingOverviewProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "SummaryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OnboardingSummary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function OnboardingSummary(props: SummaryProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "BaseListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "OrderedListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type OrderedListProps = BaseListProps; + +// Warning: (ae-missing-release-tag) "OrderNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type OrderNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "OtherIncomeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type OtherIncomeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "PaginationControlProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaginationControlProps = { + handleFirstPage: () => void; + handlePreviousPage: () => void; + handleNextPage: () => void; + handleLastPage: () => void; + handleItemsPerPageChange: (n: PaginationItemsPerPage) => void; + currentPage: number; + totalPages: number; + totalCount?: number; + itemsPerPage?: PaginationItemsPerPage; + isFetching?: boolean; +}; + +// Warning: (ae-missing-release-tag) "PaginationItemsPerPage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaginationItemsPerPage = 5 | 10 | 25 | 50; + +// Warning: (ae-missing-release-tag) "PAYMENT_METHOD_TYPES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const PAYMENT_METHOD_TYPES: readonly ["Direct Deposit", "Check"]; + +// Warning: (ae-forgotten-export) The symbol "PaymentFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const PaymentFlow: (input: PaymentFlowProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentHistoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentHistory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentHistory(props: PaymentHistoryProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentMethodProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentMethod" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentMethod(props: PaymentMethodProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PaymentMethod" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentMethod_2(input: PaymentMethodProps_2 & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PaymentMethod" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentMethod_3(input: PaymentMethodProps_3 & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_9" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentMethodFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormData = { + [K in keyof typeof fieldValidators_9]: z.infer<(typeof fieldValidators_9)[K]>; +}; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormErrorCode = (typeof PaymentMethodFormErrorCodes)[keyof typeof PaymentMethodFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const PaymentMethodFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormField = keyof typeof fieldValidators_9; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface PaymentMethodFormFields { + // Warning: (ae-forgotten-export) The symbol "TypeField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Type: typeof TypeField; +} + +// Warning: (ae-missing-release-tag) "PaymentMethodFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormFieldsMetadata = UsePaymentMethodFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_8" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentMethodFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "PaymentMethodFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormOutputs = PaymentMethodFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodFormRequiredValidation = typeof PaymentMethodFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "PaymentMethodProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PaymentMethodProps_2 extends CommonComponentInterface<'Employee.PaymentMethod'> { + // (undocumented) + defaultValues?: never; + // (undocumented) + employeeId: string; + // (undocumented) + isAdmin?: boolean; + // (undocumented) + onEvent: OnEventType; +} + +// Warning: (ae-missing-release-tag) "PaymentMethodProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PaymentMethodProps_3 extends CommonComponentInterface<'Employee.PaymentMethod'> { + // (undocumented) + defaultValues?: never; + // (undocumented) + employeeId: string; + // (undocumented) + initialState?: 'list' | 'add' | 'split'; + // (undocumented) + isAdmin?: boolean; + // (undocumented) + onEvent: OnEventType; +} + +// Warning: (ae-missing-release-tag) "PaymentMethodType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentMethodType = (typeof PAYMENT_METHOD_TYPES)[number]; + +// Warning: (ae-missing-release-tag) "PaymentPeriodFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentPeriodFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "PaymentsListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentsList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentsList(props: PaymentsListProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentStatementProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentStatement" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PaymentStatement(props: PaymentStatementProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaymentSummaryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaymentSummary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const PaymentSummary: (input: PaymentSummaryProps) => JSX_2.Element | null; + +// Warning: (ae-missing-release-tag) "PaymentUnitFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PaymentUnitFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "PayPeriodMaximumFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayPeriodMaximumFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "PayPeriodMaximumValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayPeriodMaximumValidation = ChildSupportGarnishmentRequiredValidation | ChildSupportGarnishmentNegativeAmountValidation; + +declare namespace Payroll { + export { + PayrollConfiguration, + PayrollEditEmployee, + PayrollHistory, + PayrollLanding, + PayrollList, + OffCycleReasonSelection, + OffCycleReason, + OffCycleReasonDefaults, + OffCycleReasonSelectionProps, + SelectReasonPayload, + OffCycleDeductionsSetting, + OffCycleDeductionsSettingProps, + OffCycleDeductionsSettingChangePayload, + PayrollOverview, + PayrollFlow, + PayrollExecutionFlow, + PayrollExecutionFlowProps, + PayrollExecutionInitialState, + PayrollReceipts, + ConfirmWireDetails, + ConfirmWireDetailsProps, + ConfirmWireDetailsComponentType, + PayrollBlockerList, + ApiPayrollBlocker, + RecoveryCases, + OffCyclePayPeriodDateFormData, + OffCyclePayrollDateType, + OffCycleCreation, + OffCycleCreationProps, + OffCycleCreationFormData, + OffCycleFlow, + OffCycleFlowContextInterface, + OffCycleFlowProps, + DismissalFlow, + DismissalFlowProps, + DismissalFlowContextInterface, + TransitionFlow, + TransitionFlowContextInterface, + TransitionFlowProps, + TransitionCreation, + TransitionCreationProps, + TransitionCreationFormData + } +} + +// Warning: (ae-forgotten-export) The symbol "PayrollBlockerListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollBlockerList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +function PayrollBlockerList(props: PayrollBlockerListProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollConfigurationProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollConfiguration" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollConfiguration(props: PayrollConfigurationProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollEditEmployeeProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollEditEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollEditEmployee(props: PayrollEditEmployeeProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PayrollExecutionFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollExecutionFlow(input: PayrollExecutionFlowProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PayrollExecutionFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PayrollExecutionFlowProps { + // (undocumented) + companyId: string; + // (undocumented) + ConfirmWireDetailsComponent?: ConfirmWireDetailsComponentType; + // (undocumented) + initialPayPeriod?: PayrollPayPeriodType; + // (undocumented) + initialState?: PayrollExecutionInitialState; + // (undocumented) + isDismissalPayroll?: boolean; + // (undocumented) + onEvent: OnEventType; + // (undocumented) + payrollId: string; + // Warning: (ae-forgotten-export) The symbol "FlowBreadcrumb" needs to be exported by the entry point index.d.ts + // + // (undocumented) + prefixBreadcrumbs?: FlowBreadcrumb[]; + // (undocumented) + withReimbursements?: boolean; +} + +// Warning: (ae-missing-release-tag) "PayrollExecutionInitialState" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type PayrollExecutionInitialState = 'configuration' | 'overview'; + +// Warning: (ae-forgotten-export) The symbol "PayrollFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const PayrollFlow: (input: PayrollFlowProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollHistoryProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollHistory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollHistory(props: PayrollHistoryProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollLandingProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollLanding" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollLanding(props: PayrollLandingProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollListBlockProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollList(props: PayrollListBlockProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PayrollLoadingProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface PayrollLoadingProps { + // (undocumented) + description?: ReactNode; + // (undocumented) + title: ReactNode; +} + +// Warning: (ae-missing-release-tag) "PayrollOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type PayrollOption = 'dismissalPayroll' | 'regularPayroll' | 'anotherWay'; + +// Warning: (ae-forgotten-export) The symbol "PayrollOverviewProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollOverview" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollOverview(props: PayrollOverviewProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayrollReceiptsProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayrollReceipts" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PayrollReceipts(props: PayrollReceiptsProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PayScheduleProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PaySchedule" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const PaySchedule: (input: PayScheduleProps & BaseComponentInterface) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PayScheduleErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleErrorCode = (typeof PayScheduleErrorCodes)[keyof typeof PayScheduleErrorCodes]; + +// Warning: (ae-missing-release-tag) "PayScheduleErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const PayScheduleErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly DAY_RANGE: "DAY_RANGE"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_13" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayScheduleField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleField = keyof typeof fieldValidators_13; + +// Warning: (ae-missing-release-tag) "PayScheduleFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFieldsMetadata = UsePayScheduleFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "PayScheduleFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFormData = { + [K in keyof typeof fieldValidators_13]: z.infer<(typeof fieldValidators_13)[K]>; +}; + +// Warning: (ae-missing-release-tag) "PayScheduleFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFormFields = UsePayScheduleFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "PayScheduleFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFormOutputs = PayScheduleFormData; + +// Warning: (ae-forgotten-export) The symbol "FREQUENCY_VALUES" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayScheduleFrequency" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleFrequency = (typeof FREQUENCY_VALUES)[number]; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_11" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PayScheduleOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PayScheduleRequiredValidation = typeof PayScheduleErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "PolicyConfigurationForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PolicyConfigurationForm(props: PolicyConfigurationFormProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PolicyConfigurationFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicyConfigurationFormProps extends BaseComponentInterface<'Company.TimeOff.CreateTimeOffPolicy'> { + // (undocumented) + companyId: string; + // Warning: (ae-forgotten-export) The symbol "PolicyConfigurationFormData" needs to be exported by the entry point index.d.ts + // + // (undocumented) + defaultValues?: Partial; + // (undocumented) + policyId?: string; + // (undocumented) + policyType: 'sick' | 'vacation'; +} + +// Warning: (ae-forgotten-export) The symbol "UnlimitedPolicyDetails" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "RateBasedPolicyDetails" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PolicyDetails" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type PolicyDetails = UnlimitedPolicyDetails | RateBasedPolicyDetails; + +// Warning: (ae-missing-release-tag) "PolicyList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PolicyList(input: PolicyListProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PolicyListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicyListProps extends BaseComponentInterface<'Company.TimeOff.TimeOffPolicies'> { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "PolicySettingsDisplay" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicySettingsDisplay { + // (undocumented) + accrualWaitingPeriodDays: number | null; + // (undocumented) + carryoverLimitHours: number | null; + // (undocumented) + maxAccrualHoursPerYear: number | null; + // (undocumented) + maxHours: number | null; + // (undocumented) + paidOutOnTermination: boolean; +} + +// Warning: (ae-missing-release-tag) "PolicySettingsPresentation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PolicySettingsPresentation(input: PolicySettingsPresentationProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PolicySettingsPresentationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicySettingsPresentationProps { + // Warning: (ae-forgotten-export) The symbol "PolicySettingsAccrualMethod" needs to be exported by the entry point index.d.ts + // + // (undocumented) + accrualMethod: PolicySettingsAccrualMethod; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + editingPolicyName?: string; + // (undocumented) + isPending?: boolean; + // (undocumented) + mode?: 'create' | 'edit'; + // (undocumented) + onBack: () => void; + // Warning: (ae-forgotten-export) The symbol "PolicySettingsFormData" needs to be exported by the entry point index.d.ts + // + // (undocumented) + onContinue: (data: PolicySettingsFormData) => void; +} + +// Warning: (ae-missing-release-tag) "PolicyTypeSelector" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function PolicyTypeSelector(props: PolicyTypeSelectorProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "PolicyTypeSelectorProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface PolicyTypeSelectorProps extends BaseComponentInterface<'Company.TimeOff.SelectPolicyType'> { + // (undocumented) + companyId: string; + // Warning: (ae-forgotten-export) The symbol "PolicyType" needs to be exported by the entry point index.d.ts + // + // (undocumented) + defaultPolicyType?: PolicyType; +} + +// Warning: (ae-missing-release-tag) "PREPARER_FIELDS_BY_INDEX" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const PREPARER_FIELDS_BY_INDEX: SignEmployeeFormField[][]; + +// Warning: (ae-missing-release-tag) "PreparerCheckboxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerCheckboxFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "preparer1Fields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "PreparerFieldGroup" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerFieldGroup = typeof preparer1Fields; + +// Warning: (ae-missing-release-tag) "preparerFieldName" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function preparerFieldName(index: PreparerIndex, field: PreparerFieldSuffix): string; + +// Warning: (ae-missing-release-tag) "PreparerFieldSuffix" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerFieldSuffix = 'FirstName' | 'LastName' | 'Street1' | 'Street2' | 'City' | 'State' | 'Zip' | 'Signature' | 'Agree'; + +// Warning: (ae-missing-release-tag) "PreparerIndex" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerIndex = 1 | 2 | 3 | 4; + +// Warning: (ae-missing-release-tag) "PreparerTextFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type PreparerTextFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "ProfileProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Profile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Profile(input: ProfileProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "Profile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function Profile_2(input: ProfileProps_2 & Pick): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ProfileProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ProfileProps_2 extends CommonComponentInterface<'Employee.Profile'> { + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "ProgressBarProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface ProgressBarProps { + className?: string; + cta?: React.ComponentType | null; + currentStep: number; + label: string; + totalSteps: number; +} + +// Warning: (ae-missing-release-tag) "RadioGroupHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function RadioGroupHookField(input: RadioGroupHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "RadioGroupHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RadioGroupHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + getOptionLabel?: (entry: TEntry) => string; + // (undocumented) + name: string; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "RadioGroupOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RadioGroupOption { + description?: React.ReactNode; + isDisabled?: boolean; + label: React.ReactNode; + value: string; +} + +// Warning: (ae-missing-release-tag) "RadioGroupProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RadioGroupProps extends SharedFieldLayoutProps, Pick, 'className'> { + defaultValue?: string; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onChange?: (value: string) => void; + options: Array; + value?: string | null; +} + +// Warning: (ae-missing-release-tag) "RadioProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface RadioProps extends SharedHorizontalFieldLayoutProps, Pick, 'name' | 'id' | 'className' | 'onBlur'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onChange?: (checked: boolean) => void; + value?: boolean; +} + +// Warning: (ae-missing-release-tag) "RadioStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RadioStateTaxFieldProps = BaseStateTaxFieldProps & { + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "RateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RateFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "RateValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RateValidation = (typeof CompensationErrorCodes)['REQUIRED' | 'RATE_MINIMUM' | 'RATE_EXEMPT_THRESHOLD']; + +// Warning: (ae-forgotten-export) The symbol "RecoveryCasesInternalProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "RecoveryCases" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function RecoveryCases(input: RecoveryCasesInternalProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "RecurringFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RecurringFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "RemittanceNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RemittanceNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "RoutingNumberFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RoutingNumberFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "RoutingNumberValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type RoutingNumberValidation = (typeof BankFormErrorCodes)[keyof Pick]; + +// Warning: (ae-missing-release-tag) "SanitizationConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SanitizationConfig { + additionalSensitiveFields?: string[]; + customErrorSanitizer?: (error: ObservabilityError) => ObservabilityError; + customMetricSanitizer?: (metric: ObservabilityMetric) => ObservabilityMetric; + enabled?: boolean; + includeRawError?: boolean; +} + +// Warning: (ae-missing-release-tag) "SDKError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SDKError { + category: SDKErrorCategory; + fieldErrors: SDKFieldError[]; + httpStatus?: number; + message: string; + raw?: unknown; +} + +// Warning: (ae-forgotten-export) The symbol "SDKErrorCategories" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SDKErrorCategory" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SDKErrorCategory = (typeof SDKErrorCategories)[keyof typeof SDKErrorCategories]; + +// Warning: (ae-missing-release-tag) "SDKFieldError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SDKFieldError { + category: string; + field: string; + message: string; + metadata?: Record; +} + +// Warning: (ae-forgotten-export) The symbol "SDKFormProviderProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SDKFormProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function SDKFormProvider>(input: SDKFormProviderProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "SDKHooks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SDKHooks { + afterError?: AfterErrorHook[]; + afterSuccess?: AfterSuccessHook[]; + beforeCreateRequest?: BeforeCreateRequestHook[]; + beforeRequest?: BeforeRequestHook[]; +} + +// Warning: (ae-missing-release-tag) "SDKInternalError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export class SDKInternalError extends Error { + constructor(message: string, category?: SDKErrorCategory); + // (undocumented) + readonly category: SDKErrorCategory; +} + +// Warning: (ae-missing-release-tag) "SelectHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function SelectHookField(input: SelectHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "SelectHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SelectHookFieldProps extends BaseFieldProps, Pick { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + getOptionLabel?: (entry: TEntry) => string; + // (undocumented) + name: string; + // (undocumented) + placeholder?: string; + portalContainer?: SelectProps['portalContainer']; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "SelectOption" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SelectOption { + label: string; + value: string; +} + +// Warning: (ae-missing-release-tag) "SelectProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SelectProps extends SharedFieldLayoutProps, Pick, 'id' | 'name' | 'className'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + label: string; + onBlur?: () => void; + onChange?: (value: string) => void; + options: SelectOption[]; + placeholder?: string; + portalContainer?: HTMLElement; + value?: string | null; +} + +// Warning: (ae-missing-release-tag) "SelectReasonPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface SelectReasonPayload { + // (undocumented) + defaults: OffCycleReasonDefaults; + // (undocumented) + reason: OffCycleReason; +} + +// Warning: (ae-missing-release-tag) "SelectStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SelectStateTaxFieldProps = BaseStateTaxFieldProps & { + placeholder?: string; + FieldComponent?: ComponentType; +}; + +// Warning: (ae-missing-release-tag) "SelfOnboardingFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SelfOnboardingFieldProps = HookFieldProps; + +// Warning: (ae-forgotten-export) The symbol "SelfOnboardingFlowProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SelfOnboardingFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const SelfOnboardingFlow: (input: SelfOnboardingFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "SignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignatureFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "SignatureFormProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SignatureForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function SignatureForm(props: SignatureFormProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_14" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SignCompanyFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormData = { + [K in keyof typeof fieldValidators_14]: z.infer<(typeof fieldValidators_14)[K]>; +}; + +// Warning: (ae-missing-release-tag) "SignCompanyFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormErrorCode = (typeof SignCompanyFormErrorCodes)[keyof typeof SignCompanyFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "SignCompanyFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SignCompanyFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "SignCompanyFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormField = keyof typeof fieldValidators_14; + +// Warning: (ae-missing-release-tag) "SignCompanyFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SignCompanyFormFields { + // Warning: (ae-forgotten-export) The symbol "ConfirmSignatureField_2" needs to be exported by the entry point index.d.ts + // + // (undocumented) + ConfirmSignature: typeof ConfirmSignatureField_2; + // Warning: (ae-forgotten-export) The symbol "SignatureField_2" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Signature: typeof SignatureField_2; +} + +// Warning: (ae-missing-release-tag) "SignCompanyFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormFieldsMetadata = UseSignCompanyFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_12" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SignCompanyFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "SignCompanyFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormOutputs = SignCompanyFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignCompanyFormRequiredValidation = typeof SignCompanyFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "ConfirmSignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormConfirmSignatureFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_12" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SignEmployeeFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormData = { + [K in keyof typeof fieldValidators_12]: z.infer<(typeof fieldValidators_12)[K]>; +}; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormErrorCode = (typeof SignEmployeeFormErrorCodes)[keyof typeof SignEmployeeFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SignEmployeeFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormField = keyof typeof fieldValidators_12; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormFieldComponents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SignEmployeeFormFieldComponents { + // Warning: (ae-forgotten-export) The symbol "ConfirmSignatureField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + ConfirmSignature: typeof ConfirmSignatureField; + // (undocumented) + Preparer1: PreparerFieldGroup | undefined; + // (undocumented) + Preparer2: PreparerFieldGroup | undefined; + // (undocumented) + Preparer3: PreparerFieldGroup | undefined; + // (undocumented) + Preparer4: PreparerFieldGroup | undefined; + // Warning: (ae-forgotten-export) The symbol "SignatureField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + Signature: typeof SignatureField; + // Warning: (ae-forgotten-export) The symbol "UsedPreparerField" needs to be exported by the entry point index.d.ts + // + // (undocumented) + UsedPreparer: typeof UsedPreparerField | undefined; +} + +// Warning: (ae-missing-release-tag) "SignEmployeeFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormFields = UseSignEmployeeFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormFieldsMetadata = UseSignEmployeeFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "SignEmployeeFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormOutputs = SignEmployeeFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormRequiredValidation = typeof SignEmployeeFormErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "SignatureFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SignEmployeeFormSignatureFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "SPLIT_BY_VALUES" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SPLIT_BY_VALUES: readonly ["Percentage", "Amount"]; + +// Warning: (ae-missing-release-tag) "SplitByFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitByFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "SplitByValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitByValue = (typeof SPLIT_BY_VALUES)[number]; + +// Warning: (ae-missing-release-tag) "SplitFieldEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SplitFieldEntry { + // (undocumented) + Field: ComponentType; + // (undocumented) + hiddenAccountNumber: string | null; + // (undocumented) + name: string | null; + // (undocumented) + uuid: string; +} + +// Warning: (ae-missing-release-tag) "SplitFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface SplitFieldProps { + // (undocumented) + description?: ReactNode; + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + label: string; + // (undocumented) + max?: NumberInputProps['max']; + // (undocumented) + min?: NumberInputProps['min']; + // (undocumented) + placeholder?: NumberInputProps['placeholder']; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "SplitFieldValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type SplitFieldValidation = typeof SplitPaymentsFormErrorCodes.REQUIRED | typeof SplitPaymentsFormErrorCodes.INVALID_AMOUNT | typeof SplitPaymentsFormErrorCodes.INVALID_PERCENTAGE; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormData = { + splitBy: SplitByValue; + splitAmount: Record; + priority: Record; +}; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormErrorCode = (typeof SplitPaymentsFormErrorCodes)[keyof typeof SplitPaymentsFormErrorCodes]; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const SplitPaymentsFormErrorCodes: { + readonly REQUIRED: "REQUIRED"; + readonly INVALID_PERCENTAGE: "INVALID_PERCENTAGE"; + readonly INVALID_AMOUNT: "INVALID_AMOUNT"; + readonly DUPLICATE_PRIORITIES: "DUPLICATE_PRIORITIES"; + readonly PERCENTAGE_TOTAL_MISMATCH: "PERCENTAGE_TOTAL_MISMATCH"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_10" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SplitPaymentsFormField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormField = keyof typeof fieldValidators_10; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SplitPaymentsFormFields { + // (undocumented) + SplitBy: ComponentType; + // (undocumented) + splits: SplitFieldEntry[]; +} + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormFieldsMetadata = UseSplitPaymentsFormReady['form']['fieldsMetadata']; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_9" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SplitPaymentsFormOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "SplitPaymentsFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormOutputs = SplitPaymentsFormData; + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SplitPaymentsFormRequiredValidation = typeof SplitPaymentsFormErrorCodes.REQUIRED; + +// Warning: (ae-forgotten-export) The symbol "SsnRequiredValidation" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "SsnFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SsnFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "SsnValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SsnValidation = typeof EmployeeDetailsErrorCodes.INVALID_SSN; + +// Warning: (ae-missing-release-tag) "StateFieldEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateFieldEntry = { + state: string; + name: string; + manualPaymentRequired?: boolean; +}; + +// Warning: (ae-missing-release-tag) "StateFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateFieldProps = HookFieldProps>; + +// Warning: (ae-forgotten-export) The symbol "StateTaxesProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxes(input: StateTaxesProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "StateTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxes_2(input: StateTaxesProps_2 & Pick): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "StateTaxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxes_3(input: StateTaxesProps_3 & Pick): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "StateTaxesFormProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateTaxesForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxesForm(props: StateTaxesFormProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "StateTaxesListProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateTaxesList" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function StateTaxesList(props: StateTaxesListProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "StateTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type StateTaxesProps_2 = Omit, 'children'> & { + employeeId: string; + onEvent: BaseComponentInterface['onEvent']; +}; + +// Warning: (ae-missing-release-tag) "StateTaxesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type StateTaxesProps_3 = Omit, 'children'> & { + employeeId: string; + isAdmin?: boolean; + onEvent: BaseComponentInterface['onEvent']; +}; + +// Warning: (ae-missing-release-tag) "StateTaxFieldsGroup" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface StateTaxFieldsGroup { + // (undocumented) + questions: StateTaxQuestionFieldEntry[]; + // (undocumented) + state: string; +} + +// Warning: (ae-forgotten-export) The symbol "SharedQuestionMetadata" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateTaxQuestionFieldEntry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateTaxQuestionFieldEntry = ({ + type: 'select'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'radio'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'text'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'number'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'currency'; + Field: ComponentType; +} & SharedQuestionMetadata) | ({ + type: 'date'; + Field: ComponentType; +} & SharedQuestionMetadata); + +// Warning: (ae-missing-release-tag) "StateTaxQuestionVariant" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type StateTaxQuestionVariant = 'select' | 'radio' | 'text' | 'number' | 'currency' | 'date'; + +// Warning: (ae-missing-release-tag) "StateTaxValue" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateTaxValue = string | number | boolean | Date | null | undefined; + +// Warning: (ae-forgotten-export) The symbol "WARiskClassCode" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "StateWcClassCodeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateWcClassCodeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "StateWcCoveredFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type StateWcCoveredFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "Street1FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Street1FieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "Street2FieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type Street2FieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "SubmitStateForErrorHandling" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type SubmitStateForErrorHandling = { + submitError: SDKError | null; + setSubmitError: (error: SDKError | null) => void; +}; + +// Warning: (ae-missing-release-tag) "SUPPORTED_REQUIRED_ATTR_KEYS" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export const SUPPORTED_REQUIRED_ATTR_KEYS: readonly ["case_number", "order_number", "remittance_number"]; + +// Warning: (ae-missing-release-tag) "SupportedRequiredAttrKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type SupportedRequiredAttrKey = (typeof SUPPORTED_REQUIRED_ATTR_KEYS)[number]; + +// Warning: (ae-missing-release-tag) "SwitchHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function SwitchHookField(input: SwitchHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "SwitchHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SwitchHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + name: string; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "SwitchProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface SwitchProps extends SharedHorizontalFieldLayoutProps, Pick, 'name' | 'id'>, Pick { + className?: string; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + label: string; + onBlur?: () => void; + onChange?: (checked: boolean) => void; + value?: boolean; +} + +// Warning: (ae-missing-release-tag) "TableData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TableData { + content: ReactNode; + key: string; +} + +// Warning: (ae-missing-release-tag) "TableProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TableProps extends Pick, 'className' | 'aria-label' | 'id' | 'role' | 'aria-labelledby' | 'aria-describedby'> { + emptyState?: ReactNode; + footer?: TableData[]; + hasCheckboxColumn?: boolean; + headers: TableData[]; + isWithinBox?: boolean; + rows: TableRow[]; +} + +// Warning: (ae-missing-release-tag) "TableRow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TableRow { + data: TableData[]; + key: string; +} + +// Warning: (ae-missing-release-tag) "TabsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export interface TabsProps { + 'aria-label'?: string; + 'aria-labelledby'?: string; + className?: string; + onSelectionChange: (id: string) => void; + selectedId?: string; + // Warning: (ae-forgotten-export) The symbol "TabProps" needs to be exported by the entry point index.d.ts + tabs: TabProps[]; +} + +// Warning: (ae-forgotten-export) The symbol "TaxesProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "Taxes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public @deprecated (undocumented) +function Taxes(props: TaxesProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TerminateEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TerminateEmployee(props: TerminateEmployeeProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TerminateEmployeeProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TerminateEmployeeProps extends BaseComponentInterface<'Employee.Terminations.TerminateEmployee'> { + // (undocumented) + companyId: string; + // (undocumented) + employeeId: string; +} + +// Warning: (ae-missing-release-tag) "TerminationFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const TerminationFlow: (input: TerminationFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TerminationFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TerminationFlowProps extends BaseComponentInterface { + // (undocumented) + companyId: string; + // (undocumented) + employeeId: string; +} + +// Warning: (ae-missing-release-tag) "TerminationSummary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TerminationSummary(props: TerminationSummaryProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TerminationSummaryProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TerminationSummaryProps extends BaseComponentInterface<'Employee.Terminations.TerminationSummary'> { + // (undocumented) + companyId: string; + // (undocumented) + employeeId: string; + // (undocumented) + payrollOption?: PayrollOption; + // (undocumented) + payrollUuid?: string; +} + +// Warning: (ae-missing-release-tag) "TextAreaProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TextAreaProps extends SharedFieldLayoutProps, Pick, 'name' | 'id' | 'placeholder' | 'className' | 'rows' | 'cols'>, Pick, 'aria-describedby'> { + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onBlur?: () => void; + onChange?: (value: string) => void; + value?: string; +} + +// Warning: (ae-missing-release-tag) "TextInputHookField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function TextInputHookField(input: TextInputHookFieldProps): ReactElement>; + +// Warning: (ae-missing-release-tag) "TextInputHookFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TextInputHookFieldProps extends BaseFieldProps { + // (undocumented) + FieldComponent?: ComponentType; + // (undocumented) + formHookResult?: FormHookResult; + // (undocumented) + name: string; + // (undocumented) + placeholder?: string; + // (undocumented) + transform?: (value: string) => string; + // (undocumented) + validationMessages?: ValidationMessages; +} + +// Warning: (ae-missing-release-tag) "TextInputProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TextInputProps extends SharedFieldLayoutProps, Pick, 'name' | 'id' | 'placeholder' | 'className' | 'type' | 'min' | 'max' | 'maxLength'>, Pick, 'aria-describedby' | 'aria-labelledby'> { + adornmentEnd?: InputProps['adornmentEnd']; + adornmentStart?: InputProps['adornmentStart']; + inputRef?: Ref; + isDisabled?: boolean; + isInvalid?: boolean; + onBlur?: () => void; + onChange?: (value: string) => void; + value?: string; +} + +// Warning: (ae-missing-release-tag) "TextProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface TextProps extends Pick, 'className' | 'id'> { + as?: 'p' | 'span' | 'div' | 'pre'; + children?: ReactNode; + size?: 'xs' | 'sm' | 'md' | 'lg'; + textAlign?: 'start' | 'center' | 'end'; + variant?: 'supporting' | 'leading'; + weight?: 'regular' | 'medium' | 'semibold' | 'bold'; +} + +// Warning: (ae-missing-release-tag) "TextStateTaxFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TextStateTaxFieldProps = BaseStateTaxFieldProps & { + placeholder?: string; + FieldComponent?: ComponentType; +}; + +declare namespace TimeOff { + export { + PolicyList, + PolicyListProps, + PolicyTypeSelector, + PolicyTypeSelectorProps, + PolicyConfigurationForm, + PolicyConfigurationFormProps, + PolicySettingsPresentation as PolicySettings, + PolicySettingsPresentationProps as PolicySettingsProps, + AddEmployeesToPolicy, + AddEmployeesToPolicyProps, + HolidaySelectionForm, + HolidaySelectionFormProps, + AddEmployeesHoliday, + AddEmployeesHolidayProps, + ViewHolidayEmployees, + ViewHolidayEmployeesProps, + ViewHolidayPolicyDetails, + ViewHolidayPolicyDetailsProps, + ViewHolidaySchedule, + ViewHolidayScheduleProps, + HolidayPolicyDetailPresentationProps, + HolidayPolicyDetailEmployee, + TimeOffPolicyDetailPresentation, + TimeOffPolicyDetailPresentationProps, + TimeOffPolicyDetailEmployee, + PolicyDetails, + PolicySettingsDisplay, + TimeOffFlow, + TimeOffFlowProps + } +} + +// Warning: (ae-missing-release-tag) "TimeOffFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +const TimeOffFlow: (input: TimeOffFlowProps) => JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TimeOffFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TimeOffFlowProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "TimeOffPolicyDetailEmployee" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TimeOffPolicyDetailEmployee extends EmployeeTableItem { + // (undocumented) + balance: number | null; + // (undocumented) + uuid: string; +} + +// Warning: (ae-missing-release-tag) "TimeOffPolicyDetailPresentation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TimeOffPolicyDetailPresentation(input: TimeOffPolicyDetailPresentationProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "TimeOffPolicyDetailPresentationBaseProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "TimeOffPolicyDetailPresentationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +type TimeOffPolicyDetailPresentationProps = TimeOffPolicyDetailPresentationBaseProps & ({ + policyDetails: UnlimitedPolicyDetails; + policySettings?: never; + onChangeSettings?: never; +} | { + policyDetails: RateBasedPolicyDetails; + policySettings: PolicySettingsDisplay; + onChangeSettings?: () => void; +}); + +// Warning: (ae-missing-release-tag) "TotalAmountFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TotalAmountFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "TransitionCreation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TransitionCreation(props: TransitionCreationProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TransitionCreationFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TransitionCreationFormData { + // (undocumented) + checkDate: Date | null; + // (undocumented) + skipRegularDeductions: boolean; +} + +// Warning: (ae-missing-release-tag) "TransitionCreationProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TransitionCreationProps extends BaseComponentInterface<'Payroll.TransitionCreation'> { + // (undocumented) + companyId: string; + // (undocumented) + endDate: string; + // (undocumented) + payScheduleUuid: string; + // (undocumented) + startDate: string; +} + +// Warning: (ae-missing-release-tag) "TransitionFlow" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function TransitionFlow(input: TransitionFlowProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "TransitionFlowContextInterface" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TransitionFlowContextInterface extends FlowContextInterface { + // (undocumented) + companyId: string; + // (undocumented) + endDate: string; + // (undocumented) + payrollUuid?: string; + // (undocumented) + payScheduleUuid: string; + // (undocumented) + startDate: string; +} + +// Warning: (ae-missing-release-tag) "TransitionFlowProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface TransitionFlowProps { + // (undocumented) + companyId: string; + // (undocumented) + endDate: string; + // (undocumented) + onEvent: OnEventType; + // (undocumented) + payrollUuid?: string; + // (undocumented) + payScheduleUuid: string; + // (undocumented) + startDate: string; +} + +// Warning: (ae-missing-release-tag) "TwoJobsFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TwoJobsFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "TwoPercentShareholderFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TwoPercentShareholderFieldProps = HookFieldProps; + +// Warning: (ae-missing-release-tag) "TypeFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type TypeFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "UnorderedListProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UnorderedListProps = BaseListProps; + +// Warning: (ae-missing-release-tag) "useBankForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useBankForm(input: UseBankFormProps): HookLoadingResult | UseBankFormReady; + +// Warning: (ae-missing-release-tag) "UseBankFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseBankFormProps { + // (undocumented) + defaultValues?: Partial; + employeeId?: string; + // (undocumented) + optionalFieldsToRequire?: BankFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseBankFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseBankFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (options?: BankFormSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: Record; + // (undocumented) + status: { + isPending: boolean; + mode: 'create'; + }; +} + +// Warning: (ae-missing-release-tag) "UseBankFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseBankFormResult = HookLoadingResult | UseBankFormReady; + +// Warning: (ae-missing-release-tag) "useChildSupportGarnishmentForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useChildSupportGarnishmentForm(input: UseChildSupportGarnishmentFormProps): UseChildSupportGarnishmentFormResult; + +// Warning: (ae-missing-release-tag) "UseChildSupportGarnishmentFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseChildSupportGarnishmentFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + garnishmentId?: string; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseChildSupportGarnishmentFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseChildSupportGarnishmentFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + agencies: StateFieldEntry[]; + counties: CountyEntry[]; + deduction: Garnishment | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + selectedAgency: Agencies | null; + isManualPaymentRequired: boolean; + requiredAttrKeys: ReadonlySet; + }; +} + +// Warning: (ae-missing-release-tag) "UseChildSupportGarnishmentFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseChildSupportGarnishmentFormResult = HookLoadingResult | UseChildSupportGarnishmentFormReady; + +// Warning: (ae-missing-release-tag) "useCompensationForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useCompensationForm(input: UseCompensationFormProps): HookLoadingResult | UseCompensationFormReady; + +// Warning: (ae-missing-release-tag) "UseCompensationFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseCompensationFormProps { + compensationId?: string; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId?: string; + jobId?: string; + // (undocumented) + optionalFieldsToRequire?: CompensationOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; + withEffectiveDateField?: boolean; +} + +// Warning: (ae-missing-release-tag) "UseCompensationFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseCompensationFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (options?: CompensationSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: { + compensation: Compensation | null; + currentJob: Job | null; + minimumWages: MinimumWage[]; + minimumEffectiveDate: string | null; + maximumEffectiveDate: string | null; + hasPendingFutureCompensation: boolean; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + willDeleteSecondaryJobs: boolean; + }; +} + +// Warning: (ae-missing-release-tag) "UseCompensationFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseCompensationFormResult = HookLoadingResult | UseCompensationFormReady; + +// Warning: (ae-missing-release-tag) "useCurrentHomeAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useCurrentHomeAddressForm(props: UseCurrentHomeAddressFormProps): UseHomeAddressFormResult; + +// Warning: (ae-missing-release-tag) "UseCurrentHomeAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseCurrentHomeAddressFormProps = Omit; + +// Warning: (ae-missing-release-tag) "useCurrentWorkAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useCurrentWorkAddressForm(props: UseCurrentWorkAddressFormProps): UseWorkAddressFormResult; + +// Warning: (ae-missing-release-tag) "UseCurrentWorkAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseCurrentWorkAddressFormProps = Omit; + +// Warning: (ae-missing-release-tag) "useDeductionForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useDeductionForm(input: UseDeductionFormProps): UseDeductionFormResult; + +// Warning: (ae-missing-release-tag) "UseDeductionFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseDeductionFormProps { + courtOrdered: boolean; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + garnishmentId?: string; + // (undocumented) + optionalFieldsToRequire?: DeductionFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseDeductionFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseDeductionFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + deduction: Garnishment | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + isRecurring: boolean; + }; +} + +// Warning: (ae-missing-release-tag) "UseDeductionFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseDeductionFormResult = HookLoadingResult | UseDeductionFormReady; + +// Warning: (ae-missing-release-tag) "useDeriveFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function useDeriveFieldsMetadata, TFormData extends FieldValues = FieldValues>(metadataConfig: FieldsMetadataConfig, control: Control): Record; + +// Warning: (ae-missing-release-tag) "UsedPreparerFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UsedPreparerFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "useEmployeeDetailsForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useEmployeeDetailsForm(input: UseEmployeeDetailsFormProps): HookLoadingResult | UseEmployeeDetailsFormReady; + +// Warning: (ae-forgotten-export) The symbol "UseEmployeeDetailsFormSharedProps" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UseEmployeeDetailsFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseEmployeeDetailsFormProps = (UseEmployeeDetailsFormSharedProps & { + companyId: string; + employeeId?: never; +}) | (UseEmployeeDetailsFormSharedProps & { + employeeId: string; + companyId?: string; +}); + +// Warning: (ae-forgotten-export) The symbol "EmployeeDetailsFields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UseEmployeeDetailsFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseEmployeeDetailsFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (callbacks?: EmployeeDetailsSubmitCallbacks) => Promise | undefined>; + }; + // (undocumented) + data: { + employee: Employee_2 | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseEmployeeDetailsFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseEmployeeDetailsFormResult = HookLoadingResult | UseEmployeeDetailsFormReady; + +// Warning: (ae-missing-release-tag) "useEmployeeStateTaxesForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useEmployeeStateTaxesForm(input: UseEmployeeStateTaxesFormProps): UseEmployeeStateTaxesFormResult; + +// Warning: (ae-missing-release-tag) "UseEmployeeStateTaxesFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseEmployeeStateTaxesFormProps { + // (undocumented) + employeeId: string; + isAdmin?: boolean; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseEmployeeStateTaxesFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseEmployeeStateTaxesFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + employeeStateTaxes: EmployeeStateTaxesList[]; + }; + // (undocumented) + form: BaseFormHookReady['form'] & { + Fields: StateTaxFieldsGroup[]; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseEmployeeStateTaxesFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseEmployeeStateTaxesFormResult = HookLoadingResult | UseEmployeeStateTaxesFormReady; + +// Warning: (ae-missing-release-tag) "useFederalTaxesForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useFederalTaxesForm(input: UseFederalTaxesFormProps): HookLoadingResult | UseFederalTaxesFormReady; + +// Warning: (ae-missing-release-tag) "UseFederalTaxesFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseFederalTaxesFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + // (undocumented) + optionalFieldsToRequire?: FederalTaxesOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseFederalTaxesFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseFederalTaxesFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + employeeFederalTax: EmployeeFederalTax; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseFederalTaxesFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseFederalTaxesFormResult = HookLoadingResult | UseFederalTaxesFormReady; + +// Warning: (ae-missing-release-tag) "useFieldErrorMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useFieldErrorMessage(fieldName: string, validationMessages?: ValidationMessages): string | undefined; + +// Warning: (ae-missing-release-tag) "useHomeAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useHomeAddressForm(input: UseHomeAddressFormProps): HookLoadingResult | UseHomeAddressFormReady; + +// Warning: (ae-missing-release-tag) "UseHomeAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseHomeAddressFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + homeAddressUuid?: string; + initialAddress?: EmployeeAddress; + // (undocumented) + optionalFieldsToRequire?: HomeAddressOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; + // (undocumented) + withEffectiveDateField?: boolean; +} + +// Warning: (ae-forgotten-export) The symbol "HomeAddressFields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UseHomeAddressFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseHomeAddressFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (options?: HomeAddressSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: { + homeAddress: EmployeeAddress | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseHomeAddressFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseHomeAddressFormResult = HookLoadingResult | UseHomeAddressFormReady; + +// Warning: (ae-missing-release-tag) "useJobForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useJobForm(input: UseJobFormProps): HookLoadingResult | UseJobFormReady; + +// Warning: (ae-missing-release-tag) "UseJobFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseJobFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId?: string; + jobId?: string; + // (undocumented) + optionalFieldsToRequire?: JobOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; + withHireDateField?: boolean; + withTitleField?: boolean; +} + +// Warning: (ae-missing-release-tag) "UseJobFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseJobFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (options?: JobSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: { + currentJob: Job | null; + jobs: Job[] | undefined; + employee: Employee_2 | null; + currentWorkAddress: EmployeeWorkAddress | null; + showTwoPercentShareholder: boolean; + showStateWc: boolean; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseJobFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseJobFormResult = HookLoadingResult | UseJobFormReady; + +// Warning: (ae-forgotten-export) The symbol "ObservabilityContextValue" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "useObservability" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const useObservability: () => ObservabilityContextValue; + +// Warning: (ae-missing-release-tag) "usePaymentMethodForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function usePaymentMethodForm(input: UsePaymentMethodFormProps): HookLoadingResult | UsePaymentMethodFormReady; + +// Warning: (ae-missing-release-tag) "UsePaymentMethodFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UsePaymentMethodFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + // (undocumented) + optionalFieldsToRequire?: PaymentMethodFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UsePaymentMethodFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UsePaymentMethodFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + paymentMethod: EmployeePaymentMethod; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UsePaymentMethodFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UsePaymentMethodFormResult = HookLoadingResult | UsePaymentMethodFormReady; + +// Warning: (ae-missing-release-tag) "usePayScheduleForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function usePayScheduleForm(input: UsePayScheduleFormProps): HookLoadingResult | UsePayScheduleFormReady; + +// Warning: (ae-missing-release-tag) "UsePayScheduleFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UsePayScheduleFormProps { + // (undocumented) + companyId: string; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + optionalFieldsToRequire?: PayScheduleOptionalFieldsToRequire; + // (undocumented) + payScheduleId?: string; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-forgotten-export) The symbol "PayScheduleFields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UsePayScheduleFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UsePayScheduleFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + paySchedule: PayScheduleShow | null; + payPeriodPreview: PaySchedulePreviewPayPeriod[] | null; + payPreviewLoading: boolean; + paymentSpeedDays: number | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UsePayScheduleFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UsePayScheduleFormResult = HookLoadingResult | UsePayScheduleFormReady; + +// Warning: (ae-missing-release-tag) "useSignCompanyForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useSignCompanyForm(input: UseSignCompanyFormProps): HookLoadingResult | UseSignCompanyFormReady; + +// Warning: (ae-missing-release-tag) "UseSignCompanyFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSignCompanyFormProps { + // (undocumented) + defaultValues?: Partial; + // (undocumented) + formId: string; + // (undocumented) + optionalFieldsToRequire?: SignCompanyFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseSignCompanyFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSignCompanyFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + }; + // (undocumented) + data: { + companyForm: Form; + pdfUrl: string | null; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create'; + }; +} + +// Warning: (ae-missing-release-tag) "UseSignCompanyFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseSignCompanyFormResult = HookLoadingResult | UseSignCompanyFormReady; + +// Warning: (ae-missing-release-tag) "useSignEmployeeForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useSignEmployeeForm(input: UseSignEmployeeFormProps): HookLoadingResult | UseSignEmployeeFormReady; + +// Warning: (ae-missing-release-tag) "UseSignEmployeeFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSignEmployeeFormProps { + // (undocumented) + employeeId: string; + // (undocumented) + formId: string; +} + +// Warning: (ae-missing-release-tag) "UseSignEmployeeFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSignEmployeeFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + addPreparer?: () => void; + removePreparer?: () => void; + }; + // (undocumented) + data: { + form: Form; + pdfUrl: string | null | undefined; + }; + // (undocumented) + form: BaseFormHookReady['form'] & { + preparers?: { + count: number; + canAdd: boolean; + canRemove: boolean; + }; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create'; + }; +} + +// Warning: (ae-missing-release-tag) "UseSignEmployeeFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseSignEmployeeFormResult = HookLoadingResult | UseSignEmployeeFormReady; + +// Warning: (ae-missing-release-tag) "useSplitPaymentsForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useSplitPaymentsForm(input: UseSplitPaymentsFormProps): HookLoadingResult | UseSplitPaymentsFormReady; + +// Warning: (ae-missing-release-tag) "UseSplitPaymentsFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSplitPaymentsFormProps { + // (undocumented) + employeeId: string; + // (undocumented) + optionalFieldsToRequire?: SplitPaymentsFormOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; +} + +// Warning: (ae-missing-release-tag) "UseSplitPaymentsFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseSplitPaymentsFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: () => Promise | undefined>; + reorderSplits: (orderedUuids: string[]) => void; + }; + // (undocumented) + data: { + paymentMethod: EmployeePaymentMethod; + bankAccounts: EmployeeBankAccount[]; + splits: WorkingSplit[]; + remainderId: string; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'update'; + splitBy: SplitByValue; + percentageTotal: number; + hasPercentageImbalance: boolean; + }; +} + +// Warning: (ae-missing-release-tag) "UseSplitPaymentsFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseSplitPaymentsFormResult = HookLoadingResult | UseSplitPaymentsFormReady; + +// Warning: (ae-missing-release-tag) "useStateFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export function useStateFields(employeeStateTaxes: EmployeeStateTaxesList[], isAdmin: boolean): StateTaxFieldsGroup[]; + +// Warning: (ae-missing-release-tag) "useWorkAddressForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function useWorkAddressForm(input: UseWorkAddressFormProps): HookLoadingResult | UseWorkAddressFormReady; + +// Warning: (ae-missing-release-tag) "UseWorkAddressFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseWorkAddressFormProps { + companyId?: string; + // (undocumented) + defaultValues?: Partial; + // (undocumented) + employeeId: string; + initialAddress?: EmployeeWorkAddress; + // (undocumented) + optionalFieldsToRequire?: WorkAddressOptionalFieldsToRequire; + // (undocumented) + shouldFocusError?: boolean; + // (undocumented) + validationMode?: UseFormProps['mode']; + // (undocumented) + withEffectiveDateField?: boolean; + workAddressUuid?: string; +} + +// Warning: (ae-forgotten-export) The symbol "WorkAddressFields" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "UseWorkAddressFormReady" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface UseWorkAddressFormReady extends BaseFormHookReady { + // (undocumented) + actions: { + onSubmit: (callbacks?: WorkAddressSubmitCallbacks, options?: WorkAddressSubmitOptions) => Promise | undefined>; + }; + // (undocumented) + data: { + workAddress: EmployeeWorkAddress | null; + companyLocations: Location_2[] | undefined; + }; + // (undocumented) + status: { + isPending: boolean; + mode: 'create' | 'update'; + }; +} + +// Warning: (ae-missing-release-tag) "UseWorkAddressFormResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type UseWorkAddressFormResult = HookLoadingResult | UseWorkAddressFormReady; + +// Warning: (ae-missing-release-tag) "ValidationMessages" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +export type ValidationMessages = Record & Partial>; + +// Warning: (ae-missing-release-tag) "ViewHolidayEmployees" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ViewHolidayEmployees(props: ViewHolidayEmployeesProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ViewHolidayEmployeesProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ViewHolidayEmployeesProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "ViewHolidayPolicyDetails" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ViewHolidayPolicyDetails(props: ViewHolidayPolicyDetailsProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ViewHolidayPolicyDetailsProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ViewHolidayPolicyDetailsProps extends BaseComponentInterface { + // (undocumented) + companyId: string; + // (undocumented) + defaultTab?: 'holidays' | 'employees'; +} + +// Warning: (ae-missing-release-tag) "ViewHolidaySchedule" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ViewHolidaySchedule(props: ViewHolidayScheduleProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ViewHolidayScheduleProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ViewHolidayScheduleProps extends BaseComponentInterface { + // (undocumented) + companyId: string; +} + +// Warning: (ae-missing-release-tag) "withOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export function withOptions(base: FieldMetadata, options: Array<{ + label: string; + value: string; +}>, entries?: readonly TEntry[]): FieldMetadataWithOptions; + +// Warning: (ae-missing-release-tag) "WorkAddress" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function WorkAddress(input: WorkAddressProps & BaseComponentInterface): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "WorkAddressErrorCode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressErrorCode = (typeof WorkAddressErrorCodes)[keyof typeof WorkAddressErrorCodes]; + +// Warning: (ae-missing-release-tag) "WorkAddressErrorCodes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export const WorkAddressErrorCodes: { + readonly REQUIRED: "REQUIRED"; +}; + +// Warning: (ae-forgotten-export) The symbol "fieldValidators_6" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "WorkAddressField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressField = keyof typeof fieldValidators_6; + +// Warning: (ae-missing-release-tag) "WorkAddressFieldsMetadata" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressFieldsMetadata = UseWorkAddressFormReady['form']['fieldsMetadata']; + +// Warning: (ae-missing-release-tag) "WorkAddressFormData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressFormData = { + [K in keyof typeof fieldValidators_6]: z.infer<(typeof fieldValidators_6)[K]>; +}; + +// Warning: (ae-missing-release-tag) "WorkAddressFormFields" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressFormFields = UseWorkAddressFormReady['form']['Fields']; + +// Warning: (ae-missing-release-tag) "WorkAddressFormOutputs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressFormOutputs = WorkAddressFormData; + +// Warning: (ae-forgotten-export) The symbol "requiredFieldsConfig_5" needs to be exported by the entry point index.d.ts +// Warning: (ae-missing-release-tag) "WorkAddressOptionalFieldsToRequire" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressOptionalFieldsToRequire = OptionalFieldsToRequire; + +// Warning: (ae-missing-release-tag) "WorkAddressProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface WorkAddressProps extends CommonComponentInterface<'Employee.WorkAddress.Management'> { + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: BaseComponentInterface['onEvent']; +} + +// Warning: (ae-missing-release-tag) "RequiredValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type WorkAddressRequiredValidation = typeof WorkAddressErrorCodes.REQUIRED; + +// Warning: (ae-missing-release-tag) "WorkAddressSubmitCallbacks" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface WorkAddressSubmitCallbacks { + // (undocumented) + onWorkAddressCreated?: (workAddress: EmployeeWorkAddress) => void; + // (undocumented) + onWorkAddressUpdated?: (workAddress: EmployeeWorkAddress) => void; +} + +// Warning: (ae-missing-release-tag) "WorkAddressSubmitOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface WorkAddressSubmitOptions { + // (undocumented) + effectiveDate?: string; + // (undocumented) + employeeId?: string; +} + +// Warning: (ae-missing-release-tag) "WorkingSplit" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export interface WorkingSplit { + // (undocumented) + hiddenAccountNumber: string | null; + // (undocumented) + name: string | null; + // (undocumented) + priority: number; + // (undocumented) + splitAmount: number | null; + // (undocumented) + uuid: string; +} + +// Warning: (ae-missing-release-tag) "ZipFieldProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZipFieldProps = HookFieldProps>; + +// Warning: (ae-missing-release-tag) "ZipValidation" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +export type ZipValidation = (typeof HomeAddressErrorCodes)['REQUIRED' | 'INVALID_ZIP']; + +// Warnings were encountered during analysis: +// +// dist/partner-hook-utils/types.d.ts:117:13 - (ae-forgotten-export) The symbol "FieldElementRegistry" needs to be exported by the entry point index.d.ts + +// (No @packageDocumentation comment for this package) + +``` diff --git a/build/tsdoc-stub.ts b/build/tsdoc-stub.ts new file mode 100644 index 000000000..d4b948b3e --- /dev/null +++ b/build/tsdoc-stub.ts @@ -0,0 +1,160 @@ +/** + * Generates a pre-filled TSDoc skeleton for an exported symbol. + * + * Reads the TypeScript source, finds the named export, and prints a comment + * block with @typeParam / @param / @returns stubs pre-populated from the + * signature — exactly what VSCode's "Add JSDoc Comment" action inserts, but + * runnable from the CLI so the write-tsdoc skill can call it before filling + * in prose. + * + * Usage: + * npx tsx build/tsdoc-stub.ts --file --symbol + */ + +import { Project, Node } from 'ts-morph' +import type { + FunctionDeclaration, + ArrowFunction, + FunctionExpression, + MethodDeclaration, +} from 'ts-morph' +import { resolve, dirname } from 'path' +import { fileURLToPath } from 'url' +import { readFileSync } from 'fs' + +const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..') + +function getArg(flag: string): string | undefined { + const idx = process.argv.indexOf(flag) + return idx !== -1 ? process.argv[idx + 1] : undefined +} + +const filePath = getArg('--file') +const symbolName = getArg('--symbol') +const defaultRelease = getArg('--default-release') ?? 'alpha' + +const VALID_RELEASE_TAGS = ['alpha', 'beta', 'public', 'internal'] as const +type ReleaseTag = (typeof VALID_RELEASE_TAGS)[number] + +if (!filePath || !symbolName) { + process.stderr.write( + 'Usage: npx tsx scripts/tsdoc-stub.ts --file --symbol [--default-release alpha|beta|public|internal]\n', + ) + process.exit(1) +} + +if (!VALID_RELEASE_TAGS.includes(defaultRelease as ReleaseTag)) { + process.stderr.write( + `Invalid --default-release "${defaultRelease}". Must be one of: ${VALID_RELEASE_TAGS.join(', ')}\n`, + ) + process.exit(1) +} + +const project = new Project({ + tsConfigFilePath: resolve(ROOT, 'tsconfig.json'), + skipAddingFilesFromTsConfig: true, +}) + +const absPath = resolve(filePath) +project.addSourceFileAtPath(absPath) +const sourceFile = project.getSourceFile(absPath) + +if (!sourceFile) { + process.stderr.write(`File not found: ${filePath}\n`) + process.exit(1) +} + +const exportedDecls = sourceFile.getExportedDeclarations() +const decls = exportedDecls.get(symbolName) + +if (!decls || decls.length === 0) { + process.stderr.write(`Symbol '${symbolName}' not found as an export in ${filePath}\n`) + process.exit(1) +} + +// For function overloads, the first declaration is the implementation signature +const decl = decls[0]! + +interface SymbolInfo { + typeParams: string[] + params: string[] + hasReturn: boolean +} + +function isVoidReturn(text: string): boolean { + const trimmed = text.trim() + return trimmed === 'void' || trimmed === 'undefined' || trimmed === 'never' +} + +type FunctionLike = FunctionDeclaration | ArrowFunction | FunctionExpression | MethodDeclaration + +function extractFunctionLike(node: FunctionLike): SymbolInfo { + const typeParams = node.getTypeParameters().map(tp => tp.getName()) + const params = node.getParameters().map(p => p.getName()) + const returnTypeNode = node.getReturnTypeNode() + const hasReturn = returnTypeNode === undefined || !isVoidReturn(returnTypeNode.getText()) + return { typeParams, params, hasReturn } +} + +function extractInfo(node: Node): SymbolInfo { + if (Node.isFunctionDeclaration(node) || Node.isMethodDeclaration(node)) { + return extractFunctionLike(node) + } + + if (Node.isVariableDeclaration(node)) { + const init = node.getInitializer() + if (init && (Node.isArrowFunction(init) || Node.isFunctionExpression(init))) { + return extractFunctionLike(init) + } + return { typeParams: [], params: [], hasReturn: false } + } + + if ( + Node.isInterfaceDeclaration(node) || + Node.isTypeAliasDeclaration(node) || + Node.isClassDeclaration(node) + ) { + return { + typeParams: node.getTypeParameters().map(tp => tp.getName()), + params: [], + hasReturn: false, + } + } + + // Enums and anything else: no tags needed beyond release tag + return { typeParams: [], params: [], hasReturn: false } +} + +function resolveReleaseTag(symbolName: string, fallback: ReleaseTag): string { + const reportPath = resolve(ROOT, '.reports/embedded-react-sdk.api.md') + let report: string + try { + report = readFileSync(reportPath, 'utf8') + } catch { + return `@${fallback}` + } + const marker = `(ae-missing-release-tag) "${symbolName}"` + return report.includes(marker) ? '@public' : `@${fallback}` +} + +function buildSkeleton({ typeParams, params, hasReturn }: SymbolInfo, releaseTag: string): string { + const tagLines: string[] = [] + + for (const tp of typeParams) { + tagLines.push(` * @typeParam ${tp} -`) + } + for (const p of params) { + tagLines.push(` * @param ${p} -`) + } + if (hasReturn) { + tagLines.push(' * @returns') + } + tagLines.push(` * ${releaseTag}`) + + return ['/**', ' *', ...tagLines, ' */'].join('\n') +} + +const info = extractInfo(decl) +const releaseTag = resolveReleaseTag(symbolName, defaultRelease as ReleaseTag) +const line = decl.getStartLineNumber() +process.stdout.write(`LINE:${line}\n` + buildSkeleton(info, releaseTag) + '\n') From f37aa6880f3db2c485a8c0be8014ad74deb07917 Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Thu, 28 May 2026 18:20:55 -0700 Subject: [PATCH 03/11] build(SDK-970): enhance tsdoc-stub with comment detection and skill refinements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Script now detects existing comments (JSDoc, block, line) and checks structural alignment (params, typeParam, returns, release tag) before emitting a skeleton — skips if aligned, replaces with pre-filled summary if not - Output includes DECLARATION: block so the skill never needs to read the source file; replace case adds DELETE_THROUGH: and OLD_COMMENT: blocks - --default-release flag controls fallback tag (default: alpha); script resolves @public automatically from the api-extractor report - Skill updated to reflect new output format, write-to-file step, and scope guard matching LIBRARY_BASE_PATHS / LIBRARY_IGNORE_PATHS Co-Authored-By: Claude Sonnet 4.6 --- .claude/skills/write-tsdoc/SKILL.md | 24 ++++- build/tsdoc-stub.ts | 147 +++++++++++++++++++++++++--- 2 files changed, 155 insertions(+), 16 deletions(-) diff --git a/.claude/skills/write-tsdoc/SKILL.md b/.claude/skills/write-tsdoc/SKILL.md index 4023b04b3..6412cfd72 100644 --- a/.claude/skills/write-tsdoc/SKILL.md +++ b/.claude/skills/write-tsdoc/SKILL.md @@ -3,11 +3,20 @@ name: write-tsdoc description: >- Write a valid TSDoc comment for an exported SDK symbol. Use when adding documentation to a new export, documenting an existing export, or when a - symbol is missing a TSDoc block. + symbol is missing a TSDoc block. Only applies to exported symbols in src/ + that are not test, fixture, story, or mock files. --- # Write TSDoc +Only invoke this skill for **exported symbols** in **`src/**/\*.{ts,tsx}`\*\*, excluding: + +- `**/*.stories.{ts,tsx}` +- `**/*.test.{ts,tsx}` +- `**/__fixtures__/**` + +Do not invoke for files in `build/`, `sdk-app/`, `e2e/`, `eslint-rules/`, or any other non-library directory. + ## 1. Generate the skeleton If any segment of the file path is `shared` or `helpers`, pass `--default-release internal`; otherwise omit it. @@ -16,7 +25,11 @@ If any segment of the file path is `shared` or `helpers`, pass `--default-releas npx tsx build/tsdoc-stub.ts --file --symbol [--default-release internal] ``` -The output is two parts: a `LINE:N` header giving the line number of the declaration, then the comment skeleton. Parse `N` — you will insert the finished comment immediately before that line. If the release tag is `@internal`, prose is optional — `/** @internal */` alone is sufficient, but document the symbol if it is non-obvious or complex. +The output varies by case — do not read the source file: + +- **No existing comment**: `LINE:N` then `DECLARATION:...\n---` then skeleton. Insert the finished comment before line N. +- **Existing comment, not aligned**: `LINE:N`, `DELETE_THROUGH:M`, `OLD_COMMENT:...\n---`, `DECLARATION:...\n---`, then skeleton with summary pre-filled. Use the OLD_COMMENT text + first line of the declaration as the Edit `old_string`; replace with the finished comment + that same first line. +- **Existing comment, already aligned**: nothing emitted (stderr message, exit 0) — skip. Aligned means: has a release tag, correct `@param` names matching the signature exactly, `@returns` present iff the function has a non-void return, and correct `@typeParam` names. ## 2. Fill in the prose @@ -58,6 +71,9 @@ The output is two parts: a `LINE:N` header giving the line number of the declara - `@typeParam`, `@param`, `@returns`, `@deprecated`, and the release tag are one group — no blank lines between them - Each `@example` is its own group -## 4. Output +## 4. Write to file + +Use the Edit tool to write the finished comment to the source file: -Print the comment block. Do not write it to the file. +- **Insert**: `old_string` = first line of declaration; `new_string` = finished comment + `\n` + that line. +- **Replace**: `old_string` = OLD_COMMENT text + `\n` + first line of declaration; `new_string` = finished comment + `\n` + that line. diff --git a/build/tsdoc-stub.ts b/build/tsdoc-stub.ts index d4b948b3e..9b92eb00b 100644 --- a/build/tsdoc-stub.ts +++ b/build/tsdoc-stub.ts @@ -1,17 +1,31 @@ /** - * Generates a pre-filled TSDoc skeleton for an exported symbol. + * Generates a TSDoc skeleton for an exported symbol. * - * Reads the TypeScript source, finds the named export, and prints a comment - * block with @typeParam / @param / @returns stubs pre-populated from the - * signature — exactly what VSCode's "Add JSDoc Comment" action inserts, but - * runnable from the CLI so the write-tsdoc skill can call it before filling - * in prose. + * Output format (stdout): + * + * No existing comment (pure insert): + * LINE: — 1-based line number of the declaration; insert comment here + * DECLARATION:\n...\n--- — full source text of the declaration + * /** ... * / — skeleton with @typeParam / @param / @returns stubs and release tag + * + * Existing comment without a release tag (replace): + * LINE: — start line of the existing comment; insert new comment here + * DELETE_THROUGH: — end line of the existing comment; delete lines n–m before inserting + * OLD_COMMENT:\n...\n--- — text of the existing comment (use as Edit old_string prefix) + * DECLARATION:\n...\n--- — full source text of the declaration + * /** ... * / — skeleton with summary pre-filled from the old comment + * + * Existing comment with a release tag: nothing emitted (stderr message, exit 0). + * + * The release tag is resolved from .reports/embedded-react-sdk.api.md: + * - Symbol present with ae-missing-release-tag warning → @public + * - Otherwise → --default-release value (default: alpha) * * Usage: - * npx tsx build/tsdoc-stub.ts --file --symbol + * npx tsx build/tsdoc-stub.ts --file --symbol [--default-release alpha|beta|public|internal] */ -import { Project, Node } from 'ts-morph' +import { Project, Node, type SourceFile } from 'ts-morph' import type { FunctionDeclaration, ArrowFunction, @@ -75,6 +89,96 @@ if (!decls || decls.length === 0) { // For function overloads, the first declaration is the implementation signature const decl = decls[0]! +const RELEASE_TAG_PATTERN = /@(?:public|beta|alpha|internal)\b/ + +interface ExistingComment { + text: string + summary: string | null + startLine: number + endLine: number +} + +function findExistingComment(node: Node, sf: SourceFile): ExistingComment | null { + // Comments live on the parent VariableStatement for variable declarations + const target = Node.isVariableDeclaration(node) ? (node.getParent()?.getParent() ?? node) : node + + const ranges = target.getLeadingCommentRanges() + if (ranges.length === 0) return null + + // Only consider comments immediately before the declaration (≤1 blank line gap) + const declLine = target.getStartLineNumber() + const nearby = ranges.filter(r => { + const endLine = sf.getLineAndColumnAtPos(r.getEnd()).line + 1 + return declLine - endLine <= 1 + }) + if (nearby.length === 0) return null + + const first = nearby[0]! + const last = nearby[nearby.length - 1]! + const text = nearby.map(r => r.getText()).join('\n') + + let summary: string | null = null + const firstText = first.getText() + if (firstText.startsWith('/*')) { + const lines = firstText + .replace(/^\/\*+\s*/, '') + .replace(/\s*\*+\/$/, '') + .split('\n') + .map(l => l.replace(/^\s*\*\s?/, '').trim()) + .filter(Boolean) + summary = lines.find(l => !l.startsWith('@')) ?? null + } else { + summary = + nearby + .map(r => + r + .getText() + .replace(/^\/\/\s?/, '') + .trim(), + ) + .filter(Boolean) + .join(' ') || null + } + + const startLine = sf.getLineAndColumnAtPos(first.getPos()).line + 1 + const endLine = sf.getLineAndColumnAtPos(last.getEnd() - 1).line + 1 + + return { text, summary, startLine, endLine } +} + +function parseCommentStructure(text: string): { + params: string[] + typeParams: string[] + hasReturns: boolean + hasReleaseTag: boolean +} { + const params: string[] = [] + const typeParams: string[] = [] + let hasReturns = false + let hasReleaseTag = false + + for (const line of text.split('\n')) { + const stripped = line.replace(/^\s*(?:\/\/\s?|\*\s?)?/, '').trim() + if (RELEASE_TAG_PATTERN.test(stripped)) hasReleaseTag = true + const nameMatch = stripped.match(/^@(\S+)\s+(\S+)/) + if (nameMatch?.[1] === 'param') params.push(nameMatch[2]!) + if (nameMatch?.[1] === 'typeParam') typeParams.push(nameMatch[2]!) + if (/^@returns?\b/.test(stripped)) hasReturns = true + } + + return { params, typeParams, hasReturns, hasReleaseTag } +} + +function isAligned(comment: ExistingComment, info: SymbolInfo): boolean { + const { params, typeParams, hasReturns, hasReleaseTag } = parseCommentStructure(comment.text) + return ( + hasReleaseTag && + info.hasReturn === hasReturns && + params.join(',') === info.params.join(',') && + typeParams.join(',') === info.typeParams.join(',') + ) +} + interface SymbolInfo { typeParams: string[] params: string[] @@ -137,7 +241,11 @@ function resolveReleaseTag(symbolName: string, fallback: ReleaseTag): string { return report.includes(marker) ? '@public' : `@${fallback}` } -function buildSkeleton({ typeParams, params, hasReturn }: SymbolInfo, releaseTag: string): string { +function buildSkeleton( + { typeParams, params, hasReturn }: SymbolInfo, + releaseTag: string, + summary: string | null = null, +): string { const tagLines: string[] = [] for (const tp of typeParams) { @@ -151,10 +259,25 @@ function buildSkeleton({ typeParams, params, hasReturn }: SymbolInfo, releaseTag } tagLines.push(` * ${releaseTag}`) - return ['/**', ' *', ...tagLines, ' */'].join('\n') + const summaryLine = summary ? ` * ${summary}` : ' *' + return ['/**', summaryLine, ...tagLines, ' */'].join('\n') } +const existingComment = findExistingComment(decl, sourceFile!) const info = extractInfo(decl) + +if (existingComment && isAligned(existingComment, info)) { + process.stderr.write(`Symbol '${symbolName}' already has a TSDoc comment — skipping.\n`) + process.exit(0) +} + const releaseTag = resolveReleaseTag(symbolName, defaultRelease as ReleaseTag) -const line = decl.getStartLineNumber() -process.stdout.write(`LINE:${line}\n` + buildSkeleton(info, releaseTag) + '\n') +const declarationText = decl.getText() +const skeleton = buildSkeleton(info, releaseTag, existingComment?.summary ?? null) + +let output = existingComment + ? `LINE:${existingComment.startLine}\nDELETE_THROUGH:${existingComment.endLine}\nOLD_COMMENT:\n${existingComment.text}\n---\n` + : `LINE:${decl.getStartLineNumber()}\n` + +output += `DECLARATION:\n${declarationText}\n---\n${skeleton}\n` +process.stdout.write(output) From 92ec74c73927b285e53c43709232367b8caf5c8b Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Thu, 28 May 2026 19:56:18 -0700 Subject: [PATCH 04/11] build(SDK-970): add tsdoc-api-documenter agent and document-directory skill Co-Authored-By: Claude Sonnet 4.6 --- .claude/agents/tsdoc-api-documenter.md | 140 +++++++++++++++++++++ .claude/agents/tsdoc-backfill.md | 65 ++++++++++ .claude/skills/document-directory/SKILL.md | 78 ++++++++++++ .claude/skills/write-tsdoc/SKILL.md | 2 + 4 files changed, 285 insertions(+) create mode 100644 .claude/agents/tsdoc-api-documenter.md create mode 100644 .claude/agents/tsdoc-backfill.md create mode 100644 .claude/skills/document-directory/SKILL.md diff --git a/.claude/agents/tsdoc-api-documenter.md b/.claude/agents/tsdoc-api-documenter.md new file mode 100644 index 000000000..a0e8329f1 --- /dev/null +++ b/.claude/agents/tsdoc-api-documenter.md @@ -0,0 +1,140 @@ +--- +name: 'tsdoc-api-documenter' +description: 'TSDoc documentation specialist for embedded-react-sdk. Use when newly written exported symbols need TSDoc comments added before merging — hooks, components, types, or utilities. For auditing and backfilling an entire directory, use the tsdoc-backfill agent instead.' +model: opus +color: purple +memory: user +permissionMode: acceptEdits +skills: + - write-tsdoc +--- + +You are a technical documentation expert specializing in TypeScript and React library APIs. You work within the embedded-react-sdk codebase — a React component library for Gusto's Embedded Payroll product built with TypeScript, React, react-hook-form, TanStack Query, Zod, and Vite. + +The codebase is migrating to autogenerated API reference docs. The pipeline is: **TSDoc comments inline in source → TypeDoc generates Markdown → committed to `docs/api/`**. CI fails if the generated output is stale for `@public` and `@beta` symbols. The existing `docs/` files are a hand-written Guides layer that complements the generated Reference layer — but API-specific content (specific props, parameters, behavior, return values) is being moved inline so TypeDoc can eventually replace those hand-written pages. Your job is to write the TSDoc that makes this pipeline work. All documentation must pass ESLint standards. + +## Your Two Core Missions + +1. **New code**: When new exported symbols are written, immediately add complete, high-quality TSDoc documentation before they're considered done. +2. **Legacy code**: Backfill documentation on exported symbols with missing or incomplete TSDoc comments, based on existing long form docs or product context. + +## What to Document + +Focus exclusively on **exported** symbols that form the public or partner-facing SDK surface: + +- Exported React components and their props interfaces/types +- Exported hooks (both partner-facing headless hooks and internal hooks if exported) +- Exported types, interfaces, and enums +- Exported utility functions +- Exported context values and providers + +Do NOT add TSDoc to internal/non-exported symbols, test utilities, Storybook-only helpers, or anonymous components. + +## TSDoc Standards + +````ts +/** + * Brief one-line summary of what this symbol does. [Required] + * + * Optional expanded description. + * + * @remarks Additional technical notes, caveats, or gotchas. [Optional] + * + * @param paramName - What this parameter represents and any constraints. [Required if present] + * @returns What the return value is and when it changes. [Required if present] + * @throws {ErrorType} When and why this throws [Required if throws] + * @public / @beta / @alpha / @internal [Required, only one allowed] + * @see {@link RelatedSymbol} for related functionality. [Optional] + * + * [Optional] + * @example + * ```tsx + * + * ``` + */ +```` + +### Tag rules + +- `@typeParam` — required for every type parameter. One clause naming what the type parameter represents (e.g. `The shape of the form values`). Don't restate the constraint already in the signature. +- `@param` — required for every parameter. For React components, document the props interface rather than each JSX attribute. +- `@returns` — required for hooks and functions returning non-void. +- `@example` — strongly preferred for hooks and components. + - Must compile against the published SDK surface only — no `@/` aliases, no internal helpers. + - Must be valid code within the backticks +- `@remarks` — caveats, gotchas, nuanced behavior. +- `@deprecated` — include migration guidance. +- Release tags: one must be included on every export. They mean: + - `@public`: available for partner use, breaking changes only on major versions + - `@beta`: available for experimental partner use, breaking changes or removal may happen in minor versions + - `@alpha`: should not be exported, in active development + - `@internal`: should not be exported, for internal package use only. `/** @internal */` alone satisfies the lint rule — no prose required. + +## Writing Style + +- First line is always a single-sentence summary. +- Do NOT restate the type signature in prose. +- Do NOT use `@/` aliases or internal module paths in examples. +- Do NOT speculate about the partner's app or workflow. Describe what it does and how to use it. +- Write neutrally or in second person — not "partners should…". +- Keep examples minimal but realistic. + +## TypeScript Patterns That Affect Doc Quality + +**Prefer `interface` over `type = { ... }` for named object shapes** (props types, return types, callback signatures). TypeDoc renders interfaces with full property tables and tracks `extends` relationships. TypeScript preserves member-level TSDoc in `.d.ts` emit for interfaces but not for object-type aliases — so IDE hover tooltips only show per-property docs when the type is declared as an `interface`. If you're adding TSDoc to a type alias that has documented properties, flag it for conversion to `interface`. + +## Codebase-Specific Patterns + +**ComponentsContext**: Note that UI rendering goes through `useComponentContext()` and visual output depends on the configured component set. + +**Field Components** (`src/components/Common/Fields/`): Must be used inside a `FormProvider` from react-hook-form. + +**Partner hooks**: For hooks returning `errorHandling`, document how the result integrates with `composeErrorHandler`. Reference `composeSubmitHandler` for multi-form screens. + +**API hooks** wrapping `@gusto/embedded-api`: Document the resource/action, the Suspense/mutation variant, and the auto-invalidation behavior (mutations trigger global SDK query invalidation — partners do not need to call `invalidateQueries` manually). + +## ESLint Compliance + +- `@param` names must match actual parameter names exactly (case-sensitive). +- `@returns` is required for non-void return types. +- Use `{@link SymbolName}` syntax for cross-references (not markdown links). +- Code blocks in `@example` must use fenced ` ```tsx ` or ` ```ts ` markers. + +## Workflow + +The **`write-tsdoc` skill is preloaded in your context** — follow its instructions for every symbol. Do not write TSDoc from scratch; the skill generates a skeleton via `tsdoc-stub`, enforces correct tag order, and guides the file edit. Use it liberally: one call per symbol. + +1. Identify all exported symbols in scope. Prioritize: partner-facing hooks and components first, types and utilities second. +2. Gather source material before writing anything: + - Check `docs/` for existing partner-facing prose. `docs/hooks/` in particular has detailed descriptions of headless hooks. This is the SDK-971 migration: adapt API-specific content from `docs/` directly into TSDoc so TypeDoc can replace those hand-written pages. Guide/narrative content (workflow overviews, integration patterns) stays in `docs/`. + - If `docs/` has nothing relevant **and** the symbol is a top-level concern — a flow component (e.g. `EmployeeOnboarding`, `PayrollFlow`), a major exported hook, or anything where `@remarks` and `@example` require product context beyond the implementation — check MCP servers (Jira, Confluence, Notion) for product documentation or design specs. Treat MCP content the same as `docs/` prose: adapt it, don't invent. + - If docs are missing and MCP yields nothing useful for a complex symbol, stop and check in rather than guessing. +3. For each symbol, follow the `write-tsdoc` skill. It will run `tsdoc-stub` to emit the skeleton, tell you what to insert or replace, and verify `@param` names match the actual signature. Fill in the prose; write to file. +4. After each file, run ESLint and fix errors before moving on. +5. If behavior is unclear from the implementation, stop — see Guardrails below. + +## Guardrails — When to Stop and Check In + +Stop and ask the human before continuing if any of these occur: + +- **Comment length**: The TSDoc comment you are drafting is more than twice as long as the code it documents. +- **Repeated ESLint failures**: Five ESLint failures in a row on the same file or symbol without a clear path to fixing them. +- **Guessing**: You are inferring what a symbol does rather than reading it clearly from the source. If the behavior is not obvious from the implementation, say so — do not speculate. +- **Conflicting information**: Sources disagree (source code, `docs/`, MCP content) and it's not clear which is authoritative. + +## Quality Self-Check + +After writing documentation, run ESLint on each modified file and fix any reported errors before presenting the result: + +```bash +npx eslint path/to/modified-file.ts +``` + +The rules that will catch TSDoc issues are tsdoc/syntax, tsdoc-coverage/sort-tags, tsdoc-coverage/require-release-tag, and tsdoc-coverage/require-comment. ESLint +will auto-fix tag ordering with --fix; syntax and missing-tag errors require manual correction. + +Manual checks ESLint cannot catch: + +- No comment merely restates the type signature +- @example uses only the published SDK surface (no @/ aliases, no internal helpers) +- First line is a standalone summary sentence diff --git a/.claude/agents/tsdoc-backfill.md b/.claude/agents/tsdoc-backfill.md new file mode 100644 index 000000000..7cd95cde4 --- /dev/null +++ b/.claude/agents/tsdoc-backfill.md @@ -0,0 +1,65 @@ +--- +name: tsdoc-backfill +description: 'TSDoc setup and discovery agent for embedded-react-sdk. Enables strict TSDoc linting for a src/ directory and discovers all exported symbols missing documentation. Returns a structured violation list. Used by the document-directory skill — do not invoke directly for writing docs.' +model: opus +color: purple +memory: user +permissionMode: acceptEdits +skills: + - write-tsdoc +--- + +You are setting up strict TSDoc linting for a `src/` directory and discovering all exported symbols that are missing documentation. You do NOT write the documentation — return the structured violation list so the caller can dispatch the `tsdoc-api-documenter` agent to do the writing. + +The target directory is provided in the user's message. Normalise it: strip any leading `./` or trailing `/`. If it doesn't start with `src/`, prepend `src/`. + +--- + +## Step 1 — Update eslint.config.ts + +Read `eslint.config.ts`. Locate the block marked with the comment `/** Library: well-documented code. */`. Its `ignores` array lists directories excluded from strict +TSDoc rules. + +**Case A — the exact glob is in the ignore array.** +If `/**` appears literally (e.g. `'src/helpers/**'`), delete only that one string. Leave all sibling entries untouched. + +**Case B — an ancestor glob covers the target.** +If a parent-level glob (e.g. `'src/components/**'`) matches `` but `/**` is not listed, do NOT modify the existing block. Instead, append a new +config block immediately after the well-documented block: + +```ts +/** Library: well-documented code — . */ +{ + files: ['/**/*.{ts,tsx}'], + ignores: LIBRARY_IGNORE_PATHS, + rules: { + 'tsdoc-coverage/require-comment': 'error', + 'tsdoc-coverage/require-release-tag': 'error', + }, +}, +``` + +--- + +## Step 2 — Discover violations + +```bash +npx eslint '' 2>&1 +``` + +Collect every line containing `tsdoc-coverage/require-comment`, `tsdoc-coverage/require-release-tag`, or `tsdoc/syntax`. Build a list of `{ file, line, rule }` entries. + +Return your output in this format: + +``` +**eslint.config.ts change:** + +**Violations found:** N across M files + +**Violation list:** +- path/to/file.ts:42 — tsdoc-coverage/require-comment — SymbolName +- path/to/file.ts:87 — tsdoc-coverage/require-release-tag — OtherSymbol +- ... + +**Status:** +``` diff --git a/.claude/skills/document-directory/SKILL.md b/.claude/skills/document-directory/SKILL.md new file mode 100644 index 000000000..d95b41933 --- /dev/null +++ b/.claude/skills/document-directory/SKILL.md @@ -0,0 +1,78 @@ +--- +name: document-directory +description: >- + Fully document a src/ directory by orchestrating the tsdoc-backfill and + tsdoc-api-documenter agents. Use when asked to document a directory, expand + TSDoc coverage, or add a directory to the ESLint allowlist. +argument-hint: '' +--- + +# Document Directory + +Orchestrates two agents to fully document a `src/` directory: + +1. **`tsdoc-backfill`** — enables strict linting and discovers violations +2. **`tsdoc-api-documenter`** — writes the TSDoc for each symbol + +## Argument handling + +`$ARGUMENTS` is the target directory. Normalise it: strip leading `./` or trailing `/`. If it doesn't start with `src/`, prepend `src/`. + +## Phase 1 — Setup and discovery + +Spawn the `tsdoc-backfill` agent: + +- **description**: `"Set up TSDoc linting and discover violations in $TARGET"` +- **prompt**: `"Analyse the directory $TARGET for TSDoc violations. Update eslint.config.ts to enable strict linting for this directory, run ESLint to find all violations, and return the structured violation list."` + +Wait for it to complete and capture the violation list and the eslint.config.ts change it reports. + +If the backfill agent reports zero violations, skip Phase 2 and go straight to the final report. + +## Phase 2 — Write documentation + +Spawn the `tsdoc-api-documenter` agent with the full violation list: + +- **description**: `"Document violations in $TARGET"` +- **prompt**: + +``` +Document the following exported symbols in the embedded-react-sdk repo. +These were discovered by the tsdoc-backfill agent as missing TSDoc in $TARGET. + +Violation list: + + +Work through each file in order. For each symbol: +- Check docs/ for existing prose to adapt (docs/hooks/ for hooks, docs/integration-guide/ for utilities) +- If docs/ has nothing and this is a top-level or complex symbol, check MCP (Jira, Confluence, Notion) for product context +- Use the write-tsdoc skill to generate the skeleton and fill in prose +- Run ESLint on the file after completing it; fix any errors before moving on + +Return a summary of what was documented and any symbols skipped with reasons. +``` + +## Phase 3 — Final verification + +After the api-documenter agent completes, run: + +```bash +npx eslint '$TARGET' 2>&1 +``` + +## Report + +Return a combined report: + +``` +## Documentation run: $TARGET + +**eslint.config.ts change:** + +**Symbols documented:** N across M files + +**Files changed:** +- path/to/file.ts — N symbols (symbol1, symbol2, ...) + +**Remaining violations:** +``` diff --git a/.claude/skills/write-tsdoc/SKILL.md b/.claude/skills/write-tsdoc/SKILL.md index 6412cfd72..44130bb2a 100644 --- a/.claude/skills/write-tsdoc/SKILL.md +++ b/.claude/skills/write-tsdoc/SKILL.md @@ -35,6 +35,8 @@ The output varies by case — do not read the source file: **Summary** — one sentence after `/**`. Active verb for functions (`Formats…`, `Returns…`); shape description for types/interfaces. Under ~100 characters. +**`@typeParam T -`** — one clause naming what the type parameter represents (e.g. `The shape of the form values`, `The entity type being listed`). Don't restate the constraint already in the signature. + **`@param name -`** — one clause; don't restate the type. For complex params with discriminated unions, link the types directly: `{@link CreateProps} or {@link UpdateProps}`. **`@returns`** — what the value is, not its type. For loading-state hooks describe both branches: `A {@link HookLoadingResult} while loading, or a {@link UseXxxReady} once ready.` From a8ec3027c34b3f0b9ef27c7872d54d6db25ddd00 Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Fri, 29 May 2026 11:17:00 -0700 Subject: [PATCH 05/11] build(SDK-970): improve document-directory skill with background phase, events table rules, and api-report step Co-Authored-By: Claude Sonnet 4.6 --- .claude/agents/tsdoc-backfill.md | 4 +- .claude/skills/document-directory/SKILL.md | 44 +++++++++++++++++----- .claude/skills/write-tsdoc/SKILL.md | 12 +++++- 3 files changed, 48 insertions(+), 12 deletions(-) diff --git a/.claude/agents/tsdoc-backfill.md b/.claude/agents/tsdoc-backfill.md index 7cd95cde4..cd6dc0691 100644 --- a/.claude/agents/tsdoc-backfill.md +++ b/.claude/agents/tsdoc-backfill.md @@ -1,12 +1,12 @@ --- -name: tsdoc-backfill +name: 'tsdoc-backfill' description: 'TSDoc setup and discovery agent for embedded-react-sdk. Enables strict TSDoc linting for a src/ directory and discovers all exported symbols missing documentation. Returns a structured violation list. Used by the document-directory skill — do not invoke directly for writing docs.' model: opus color: purple memory: user permissionMode: acceptEdits skills: - - write-tsdoc + - 'write-tsdoc' --- You are setting up strict TSDoc linting for a `src/` directory and discovering all exported symbols that are missing documentation. You do NOT write the documentation — return the structured violation list so the caller can dispatch the `tsdoc-api-documenter` agent to do the writing. diff --git a/.claude/skills/document-directory/SKILL.md b/.claude/skills/document-directory/SKILL.md index d95b41933..4bf0b6d59 100644 --- a/.claude/skills/document-directory/SKILL.md +++ b/.claude/skills/document-directory/SKILL.md @@ -18,20 +18,22 @@ Orchestrates two agents to fully document a `src/` directory: `$ARGUMENTS` is the target directory. Normalise it: strip leading `./` or trailing `/`. If it doesn't start with `src/`, prepend `src/`. -## Phase 1 — Setup and discovery +## Phase 1 — Setup and discovery (foreground) Spawn the `tsdoc-backfill` agent: - **description**: `"Set up TSDoc linting and discover violations in $TARGET"` - **prompt**: `"Analyse the directory $TARGET for TSDoc violations. Update eslint.config.ts to enable strict linting for this directory, run ESLint to find all violations, and return the structured violation list."` -Wait for it to complete and capture the violation list and the eslint.config.ts change it reports. +Wait for it to complete. Capture the violation list and the eslint.config.ts change it reports. -If the backfill agent reports zero violations, skip Phase 2 and go straight to the final report. +If it reports zero violations, skip Phase 2, run the final verification below, and return the report. -## Phase 2 — Write documentation +## Phase 2 — Write documentation (background) -Spawn the `tsdoc-api-documenter` agent with the full violation list: +Tell the user: "Phase 1 complete — $N violations found. Documenting in the background, I'll report back when done." + +Spawn the `tsdoc-api-documenter` agent with **`run_in_background: true`**: - **description**: `"Document violations in $TARGET"` - **prompt**: @@ -49,20 +51,42 @@ Work through each file in order. For each symbol: - Use the write-tsdoc skill to generate the skeleton and fill in prose - Run ESLint on the file after completing it; fix any errors before moving on +For exported **React components**, before writing the events table in `@remarks`: +- Find every `onEvent(companyEvents.*, ...)` call in the component file — including calls inside nested handler functions (e.g. a function like `onXxxFormEvent` that proxies events from a child component's `onEvent`). These bubbled-up events must appear in the table. +- Cross-reference the events table in docs/ to catch any you might have missed. + Return a summary of what was documented and any symbols skipped with reasons. ``` -## Phase 3 — Final verification +## Phase 3 — Final verification and report (on completion notification) -After the api-documenter agent completes, run: +When the background agent completes, run in sequence: +**Step 1 — ESLint** ```bash npx eslint '$TARGET' 2>&1 ``` -## Report +**Step 2 — Build and API report** +```bash +npm run build && npm run api-report:derive 2>&1 +``` -Return a combined report: +Then diff the report to see what changed: +```bash +git diff .reports/embedded-react-sdk.api.md +``` + +**Step 3 — Fix forgotten exports** + +Scan the diff for `ae-forgotten-export` warnings. For each one: +- Find which barrel file exports the symbol that *references* the forgotten type (e.g. if `AssignSignatoryProps` is forgotten and `AssignSignatory` is exported from `Company/exports/companyOnboarding.ts`, add `AssignSignatoryProps` there too). +- The type does not need to be re-exported from the top-level `src/index.ts` — the nearest barrel file that already exports the referencing symbol is sufficient. +- Re-run `npm run build && npm run api-report:derive` after making changes to confirm the warning is gone. + +**Ignore** `ae-unresolved-link` warnings where the missing symbol comes from `@gusto/embedded-api` — these are known limitations of cross-package `{@link}` references and are not actionable here. + +Then relay the combined report to the user: ``` ## Documentation run: $TARGET @@ -74,5 +98,7 @@ Return a combined report: **Files changed:** - path/to/file.ts — N symbols (symbol1, symbol2, ...) +**API report changes:** + **Remaining violations:** ``` diff --git a/.claude/skills/write-tsdoc/SKILL.md b/.claude/skills/write-tsdoc/SKILL.md index 44130bb2a..923915093 100644 --- a/.claude/skills/write-tsdoc/SKILL.md +++ b/.claude/skills/write-tsdoc/SKILL.md @@ -43,7 +43,17 @@ The output varies by case — do not read the source file: **`@remarks`** (optional) — behavioral notes, edge cases, or constraints that don't fit the summary. Place between summary and the param group. -**`@example`** (optional) — when a snippet meaningfully clarifies usage. Import from the published package, not internal paths. +For exported **React components**, `@remarks` must include an events table listing every `onEvent` payload the component can emit: + +``` +| Event | Description | Data | +| ----- | ----------- | ---- | +| `EVENT_NAME` | What triggers it | {@link DataType} or — | +``` + +Use `{@link TypeName}` (importing the type if needed) for the Data column when a type from `@gusto/embedded-api/models/components/` matches. Use `—` when the event carries no data. + +**`@example`** (optional) — when a snippet meaningfully clarifies usage. **Skip for React components already documented in `docs/`** — the docs page is the canonical example. Import from the published package, not internal paths. **`@see`** (optional) — `{@link TypeName}` references for closely related symbols. From 762eb0d14f62fe46ec93e041a30c19dd2cc8f9e1 Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Fri, 29 May 2026 13:09:20 -0700 Subject: [PATCH 06/11] build(SDK-970): batch tsdoc-stub calls per file to reduce agent turn cost Token-profiler analysis showed the documenter was calling tsdoc-stub once per symbol, burning a full cache-read turn (~87K tokens) per symbol. Updated write-tsdoc to lead with --all-exports / --symbols and forbid per-symbol calls when multiple symbols need documenting in the same file. Updated the document-directory Phase 2 prompt to drive a file-first loop so the agent generates all skeletons in one stub call before writing. Co-Authored-By: Claude Sonnet 4.6 --- .claude/agents/tsdoc-api-documenter.md | 5 +- .claude/agents/tsdoc-backfill.md | 3 +- .claude/skills/document-directory/SKILL.md | 10 +- .claude/skills/write-tsdoc/SKILL.md | 32 +- build/tsdoc-stub-lib.ts | 311 ++++++++++++++++++++ build/tsdoc-stub.ts | 324 +++++++-------------- 6 files changed, 445 insertions(+), 240 deletions(-) create mode 100644 build/tsdoc-stub-lib.ts diff --git a/.claude/agents/tsdoc-api-documenter.md b/.claude/agents/tsdoc-api-documenter.md index a0e8329f1..6d04ba4f8 100644 --- a/.claude/agents/tsdoc-api-documenter.md +++ b/.claude/agents/tsdoc-api-documenter.md @@ -5,6 +5,7 @@ model: opus color: purple memory: user permissionMode: acceptEdits +allowed-tools: [Bash, Read, Edit] skills: - write-tsdoc --- @@ -102,14 +103,14 @@ Do NOT add TSDoc to internal/non-exported symbols, test utilities, Storybook-onl ## Workflow -The **`write-tsdoc` skill is preloaded in your context** — follow its instructions for every symbol. Do not write TSDoc from scratch; the skill generates a skeleton via `tsdoc-stub`, enforces correct tag order, and guides the file edit. Use it liberally: one call per symbol. +The **`write-tsdoc` skill is preloaded in your context** — follow its instructions for every symbol. Do not write TSDoc from scratch; the skill generates a skeleton via `tsdoc-stub`, enforces correct tag order, and guides the file edit. 1. Identify all exported symbols in scope. Prioritize: partner-facing hooks and components first, types and utilities second. 2. Gather source material before writing anything: - Check `docs/` for existing partner-facing prose. `docs/hooks/` in particular has detailed descriptions of headless hooks. This is the SDK-971 migration: adapt API-specific content from `docs/` directly into TSDoc so TypeDoc can replace those hand-written pages. Guide/narrative content (workflow overviews, integration patterns) stays in `docs/`. - If `docs/` has nothing relevant **and** the symbol is a top-level concern — a flow component (e.g. `EmployeeOnboarding`, `PayrollFlow`), a major exported hook, or anything where `@remarks` and `@example` require product context beyond the implementation — check MCP servers (Jira, Confluence, Notion) for product documentation or design specs. Treat MCP content the same as `docs/` prose: adapt it, don't invent. - If docs are missing and MCP yields nothing useful for a complex symbol, stop and check in rather than guessing. -3. For each symbol, follow the `write-tsdoc` skill. It will run `tsdoc-stub` to emit the skeleton, tell you what to insert or replace, and verify `@param` names match the actual signature. Fill in the prose; write to file. +3. **Generate skeletons in batch per file.** When you have multiple symbols from the same file, call `tsdoc-stub` once with `--symbols Name1,Name2,...` instead of once per symbol. This amortizes the project-load cost across all symbols in the file. The output is one `SYMBOL: NAME\n` section per symbol; `SKIP` means already aligned. Then write each non-SKIP comment following write-tsdoc steps 2–4. 4. After each file, run ESLint and fix errors before moving on. 5. If behavior is unclear from the implementation, stop — see Guardrails below. diff --git a/.claude/agents/tsdoc-backfill.md b/.claude/agents/tsdoc-backfill.md index cd6dc0691..f50f20b55 100644 --- a/.claude/agents/tsdoc-backfill.md +++ b/.claude/agents/tsdoc-backfill.md @@ -5,8 +5,7 @@ model: opus color: purple memory: user permissionMode: acceptEdits -skills: - - 'write-tsdoc' +allowed-tools: [Bash, Read, Edit] --- You are setting up strict TSDoc linting for a `src/` directory and discovering all exported symbols that are missing documentation. You do NOT write the documentation — return the structured violation list so the caller can dispatch the `tsdoc-api-documenter` agent to do the writing. diff --git a/.claude/skills/document-directory/SKILL.md b/.claude/skills/document-directory/SKILL.md index 4bf0b6d59..e6e9199c6 100644 --- a/.claude/skills/document-directory/SKILL.md +++ b/.claude/skills/document-directory/SKILL.md @@ -45,11 +45,11 @@ These were discovered by the tsdoc-backfill agent as missing TSDoc in $TARGET. Violation list: -Work through each file in order. For each symbol: -- Check docs/ for existing prose to adapt (docs/hooks/ for hooks, docs/integration-guide/ for utilities) -- If docs/ has nothing and this is a top-level or complex symbol, check MCP (Jira, Confluence, Notion) for product context -- Use the write-tsdoc skill to generate the skeleton and fill in prose -- Run ESLint on the file after completing it; fix any errors before moving on +Work through each file in order. For each file: +1. Run tsdoc-stub **once** for the whole file using `--all-exports` (or `--symbols` if only a subset needs documenting) to generate all skeletons in a single call. Never call tsdoc-stub once per symbol — each invocation is expensive. +2. Check docs/ for existing prose to adapt before filling in any prose (docs/hooks/ for hooks, docs/integration-guide/ for utilities). For top-level or complex symbols with nothing in docs/, check MCP (Jira, Confluence, Notion) for product context. +3. Fill in prose for all symbols in the file, then write them all to the file (multiple Edit calls in the same turn where possible). +4. Run ESLint on the file once after all symbols are written; fix any errors before moving on. For exported **React components**, before writing the events table in `@remarks`: - Find every `onEvent(companyEvents.*, ...)` call in the component file — including calls inside nested handler functions (e.g. a function like `onXxxFormEvent` that proxies events from a child component's `onEvent`). These bubbled-up events must appear in the table. diff --git a/.claude/skills/write-tsdoc/SKILL.md b/.claude/skills/write-tsdoc/SKILL.md index 923915093..c22ab2314 100644 --- a/.claude/skills/write-tsdoc/SKILL.md +++ b/.claude/skills/write-tsdoc/SKILL.md @@ -21,16 +21,38 @@ Do not invoke for files in `build/`, `sdk-app/`, `e2e/`, `eslint-rules/`, or any If any segment of the file path is `shared` or `helpers`, pass `--default-release internal`; otherwise omit it. +**Each `tsdoc-stub` invocation is expensive — never call it more than once per file.** + +- When documenting multiple symbols from the same file, always generate all skeletons in a single call. +- Use `--all-exports` when you need every exported symbol in the file (e.g. working from a violation list that covers the whole file). +- Use `--symbols` when you have a known subset. +- Only use `--symbol` (singular) when there is exactly one symbol to document in the file. + +**All exported symbols in a file (use when the violation list covers most or all of a file):** +```bash +npx tsx build/tsdoc-stub.ts --file --all-exports [--default-release internal] +``` + +**A specific subset of symbols from the same file:** +```bash +npx tsx build/tsdoc-stub.ts --file --symbols Name1,Name2,Name3 [--default-release internal] +``` + +**Single symbol (only when there is exactly one symbol to document in this file):** ```bash npx tsx build/tsdoc-stub.ts --file --symbol [--default-release internal] ``` -The output varies by case — do not read the source file: +Single-symbol output varies by case — do not read the source file: -- **No existing comment**: `LINE:N` then `DECLARATION:...\n---` then skeleton. Insert the finished comment before line N. -- **Existing comment, not aligned**: `LINE:N`, `DELETE_THROUGH:M`, `OLD_COMMENT:...\n---`, `DECLARATION:...\n---`, then skeleton with summary pre-filled. Use the OLD_COMMENT text + first line of the declaration as the Edit `old_string`; replace with the finished comment + that same first line. +- **No existing comment**: `LINE:N` then `DECLARATION:...\n---` then (optionally) `EVENTS:...\n---` then skeleton. Insert the finished comment before line N. +- **Existing comment, not aligned**: `LINE:N`, `DELETE_THROUGH:M`, `OLD_COMMENT:...\n---`, `DECLARATION:...\n---`, then (optionally) `EVENTS:...\n---`, then skeleton with summary pre-filled. Use the OLD_COMMENT text + first line of the declaration as the Edit `old_string`; replace with the finished comment + that same first line. - **Existing comment, already aligned**: nothing emitted (stderr message, exit 0) — skip. Aligned means: has a release tag, correct `@param` names matching the signature exactly, `@returns` present iff the function has a non-void return, and correct `@typeParam` names. +Batch output (`--symbols` / `--all-exports`) prefixes each symbol with `SYMBOL: NAME\n`, then either the same block as single mode or `SKIP\n` if already aligned. + +**`EVENTS:` section** — present on component/function symbols that accept `onEvent`. Each line is `KEY string-value` (e.g. `TIME_OFF_CREATE_POLICY timeOff/createPolicy`). Use this directly to build the `@remarks` events table — no additional file reads or greps needed. + ## 2. Fill in the prose **Summary** — one sentence after `/**`. Active verb for functions (`Formats…`, `Returns…`); shape description for types/interfaces. Under ~100 characters. @@ -43,12 +65,12 @@ The output varies by case — do not read the source file: **`@remarks`** (optional) — behavioral notes, edge cases, or constraints that don't fit the summary. Place between summary and the param group. -For exported **React components**, `@remarks` must include an events table listing every `onEvent` payload the component can emit: +For exported **React components**, `@remarks` must include an events table listing every `onEvent` payload the component can emit. When the stub emitted an `EVENTS:` section, use those entries directly as the row list — do not grep for events. When the stub emitted no `EVENTS:` section, the component does not use `onEvent` and no table is needed. ``` | Event | Description | Data | | ----- | ----------- | ---- | -| `EVENT_NAME` | What triggers it | {@link DataType} or — | +| `event/string/value` | What triggers it | {@link DataType} or — | ``` Use `{@link TypeName}` (importing the type if needed) for the Data column when a type from `@gusto/embedded-api/models/components/` matches. Use `—` when the event carries no data. diff --git a/build/tsdoc-stub-lib.ts b/build/tsdoc-stub-lib.ts new file mode 100644 index 000000000..263e4a68e --- /dev/null +++ b/build/tsdoc-stub-lib.ts @@ -0,0 +1,311 @@ +/** + * Core logic for TSDoc skeleton generation. Imported by tsdoc-stub.ts (CLI). + * + * All functions are pure or read-only — no process.exit, no stdout/stderr writes. + */ + +import { Node, type SourceFile } from 'ts-morph' +import type { + FunctionDeclaration, + ArrowFunction, + FunctionExpression, + MethodDeclaration, +} from 'ts-morph' +import { resolve, dirname } from 'path' +import { fileURLToPath } from 'url' +import { readFileSync, existsSync } from 'fs' + +export const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..') + +export const VALID_RELEASE_TAGS = ['alpha', 'beta', 'public', 'internal'] as const +export type ReleaseTag = (typeof VALID_RELEASE_TAGS)[number] + +export const RELEASE_TAG_PATTERN = /@(?:public|beta|alpha|internal)\b/ + +export interface ExistingComment { + text: string + summary: string | null + startLine: number + endLine: number +} + +export interface SymbolInfo { + typeParams: string[] + params: string[] + hasReturn: boolean +} + +// ─── Comment detection ─────────────────────────────────────────────────────── + +export function findExistingComment(node: Node, sf: SourceFile): ExistingComment | null { + const target = Node.isVariableDeclaration(node) ? (node.getParent()?.getParent() ?? node) : node + + const ranges = target.getLeadingCommentRanges() + if (ranges.length === 0) return null + + const declLine = target.getStartLineNumber() + const nearby = ranges.filter(r => { + const endLine = sf.getLineAndColumnAtPos(r.getEnd()).line + 1 + return declLine - endLine <= 1 + }) + if (nearby.length === 0) return null + + const first = nearby[0]! + const last = nearby[nearby.length - 1]! + const text = nearby.map(r => r.getText()).join('\n') + + let summary: string | null = null + const firstText = first.getText() + if (firstText.startsWith('/*')) { + const lines = firstText + .replace(/^\/\*+\s*/, '') + .replace(/\s*\*+\/$/, '') + .split('\n') + .map(l => l.replace(/^\s*\*\s?/, '').trim()) + .filter(Boolean) + summary = lines.find(l => !l.startsWith('@')) ?? null + } else { + summary = + nearby + .map(r => + r + .getText() + .replace(/^\/\/\s?/, '') + .trim(), + ) + .filter(Boolean) + .join(' ') || null + } + + const startLine = sf.getLineAndColumnAtPos(first.getPos()).line + 1 + const endLine = sf.getLineAndColumnAtPos(last.getEnd() - 1).line + 1 + + return { text, summary, startLine, endLine } +} + +export function parseCommentStructure(text: string): { + params: string[] + typeParams: string[] + hasReturns: boolean + hasReleaseTag: boolean +} { + const params: string[] = [] + const typeParams: string[] = [] + let hasReturns = false + let hasReleaseTag = false + + for (const line of text.split('\n')) { + const stripped = line.replace(/^\s*(?:\/\/\s?|\*\s?)?/, '').trim() + if (RELEASE_TAG_PATTERN.test(stripped)) hasReleaseTag = true + const nameMatch = stripped.match(/^@(\S+)\s+(\S+)/) + if (nameMatch?.[1] === 'param') params.push(nameMatch[2]!) + if (nameMatch?.[1] === 'typeParam') typeParams.push(nameMatch[2]!) + if (/^@returns?\b/.test(stripped)) hasReturns = true + } + + return { params, typeParams, hasReturns, hasReleaseTag } +} + +export function isAligned(comment: ExistingComment, info: SymbolInfo): boolean { + const { params, typeParams, hasReturns, hasReleaseTag } = parseCommentStructure(comment.text) + return ( + hasReleaseTag && + info.hasReturn === hasReturns && + params.join(',') === info.params.join(',') && + typeParams.join(',') === info.typeParams.join(',') + ) +} + +// ─── Symbol introspection ───────────────────────────────────────────────────── + +type FunctionLike = FunctionDeclaration | ArrowFunction | FunctionExpression | MethodDeclaration + +function isVoidReturn(text: string): boolean { + const trimmed = text.trim() + return trimmed === 'void' || trimmed === 'undefined' || trimmed === 'never' +} + +function extractFunctionLike(node: FunctionLike): SymbolInfo { + const typeParams = node.getTypeParameters().map(tp => tp.getName()) + const params = node.getParameters().map(p => p.getName()) + const returnTypeNode = node.getReturnTypeNode() + const hasReturn = returnTypeNode === undefined || !isVoidReturn(returnTypeNode.getText()) + return { typeParams, params, hasReturn } +} + +export function extractInfo(node: Node): SymbolInfo { + if (Node.isFunctionDeclaration(node) || Node.isMethodDeclaration(node)) { + return extractFunctionLike(node) + } + + if (Node.isVariableDeclaration(node)) { + const init = node.getInitializer() + if (init && (Node.isArrowFunction(init) || Node.isFunctionExpression(init))) { + return extractFunctionLike(init) + } + return { typeParams: [], params: [], hasReturn: false } + } + + if ( + Node.isInterfaceDeclaration(node) || + Node.isTypeAliasDeclaration(node) || + Node.isClassDeclaration(node) + ) { + return { + typeParams: node.getTypeParameters().map(tp => tp.getName()), + params: [], + hasReturn: false, + } + } + + return { typeParams: [], params: [], hasReturn: false } +} + +// ─── Release tag resolution ─────────────────────────────────────────────────── + +export function resolveReleaseTag(symbolName: string, fallback: ReleaseTag): string { + const reportPath = resolve(ROOT, '.reports/embedded-react-sdk.api.md') + let report: string + try { + report = readFileSync(reportPath, 'utf8') + } catch { + return `@${fallback}` + } + const marker = `(ae-missing-release-tag) "${symbolName}"` + return report.includes(marker) ? '@public' : `@${fallback}` +} + +// ─── Skeleton builder ───────────────────────────────────────────────────────── + +export function buildSkeleton( + { typeParams, params, hasReturn }: SymbolInfo, + releaseTag: string, + summary: string | null = null, +): string { + const tagLines: string[] = [] + + for (const tp of typeParams) { + tagLines.push(` * @typeParam ${tp} -`) + } + for (const p of params) { + tagLines.push(` * @param ${p} -`) + } + if (hasReturn) { + tagLines.push(' * @returns') + } + tagLines.push(` * ${releaseTag}`) + + const summaryLine = summary ? ` * ${summary}` : ' *' + return ['/**', summaryLine, ...tagLines, ' */'].join('\n') +} + +// ─── Event key discovery ────────────────────────────────────────────────────── + +export function collectOnEventKeys(info: SymbolInfo, sf: SourceFile): string[] | null { + // Types, interfaces, and enums don't emit events — only callables do + if (info.params.length === 0 && !info.hasReturn) return null + + const fileText = sf.getFullText() + + const hasOnEventParam = info.params.some(p => p.includes('onEvent')) + const hasDirectCalls = /onEvent\(componentEvents\./.test(fileText) + if (!hasOnEventParam && !hasDirectCalls) return null + + const keys = new Set() + const EVENT_REF = /componentEvents\.(\w+)/g + + function scanText(text: string) { + for (const m of text.matchAll(EVENT_REF)) { + keys.add(m[1]!) + } + } + + scanText(fileText) + + // For flow components that delegate to a state machine, scan directly imported + // relative files one level deep to pick up machine transitions. + if (hasOnEventParam) { + for (const imp of sf.getImportDeclarations()) { + const spec = imp.getModuleSpecifierValue() + if (!spec.startsWith('.')) continue + const base = resolve(dirname(sf.getFilePath()), spec) + for (const ext of ['.ts', '.tsx', '.js', '.jsx']) { + const candidate = base + ext + if (existsSync(candidate)) { + try { + scanText(readFileSync(candidate, 'utf8')) + } catch {} + break + } + } + } + } + + return keys.size > 0 ? [...keys].sort() : null +} + +export function resolveEventValues(keys: string[]): Map { + const values = new Map() + try { + const constantsText = readFileSync(resolve(ROOT, 'src/shared/constants.ts'), 'utf8') + for (const key of keys) { + const m = constantsText.match(new RegExp(`(? { + const v = eventValues.get(k) + return v ? `${k} ${v}` : k + }) + output += `EVENTS:\n${eventLines.join('\n')}\n---\n` + } + + output += `${skeleton}\n` + return output +} diff --git a/build/tsdoc-stub.ts b/build/tsdoc-stub.ts index 9b92eb00b..38d1db3f4 100644 --- a/build/tsdoc-stub.ts +++ b/build/tsdoc-stub.ts @@ -1,69 +1,97 @@ /** - * Generates a TSDoc skeleton for an exported symbol. + * CLI for generating TSDoc skeletons for exported symbols. * - * Output format (stdout): + * Modes: * - * No existing comment (pure insert): - * LINE: — 1-based line number of the declaration; insert comment here - * DECLARATION:\n...\n--- — full source text of the declaration - * /** ... * / — skeleton with @typeParam / @param / @returns stubs and release tag + * Single --symbol NAME + * Outputs one block, or nothing + stderr if the symbol is already aligned. + * Exit 0 in both cases. * - * Existing comment without a release tag (replace): - * LINE: — start line of the existing comment; insert new comment here - * DELETE_THROUGH: — end line of the existing comment; delete lines n–m before inserting - * OLD_COMMENT:\n...\n--- — text of the existing comment (use as Edit old_string prefix) - * DECLARATION:\n...\n--- — full source text of the declaration - * /** ... * / — skeleton with summary pre-filled from the old comment + * Batch --symbols NAME1,NAME2,... | --all-exports + * Outputs one SYMBOL block per symbol: + * SYMBOL: NAME + * (same format as single mode) + * or: + * SYMBOL: NAME + * SKIP (already aligned — nothing to write) * - * Existing comment with a release tag: nothing emitted (stderr message, exit 0). + * Single-mode output (no existing comment): + * LINE: + * DECLARATION:\n...\n--- + * [EVENTS:\n...\n---] + * /** skeleton * / * - * The release tag is resolved from .reports/embedded-react-sdk.api.md: - * - Symbol present with ae-missing-release-tag warning → @public - * - Otherwise → --default-release value (default: alpha) + * Single-mode output (existing comment without release tag): + * LINE: + * DELETE_THROUGH: + * OLD_COMMENT:\n...\n--- + * DECLARATION:\n...\n--- + * [EVENTS:\n...\n---] + * /** skeleton * / * * Usage: * npx tsx build/tsdoc-stub.ts --file --symbol [--default-release alpha|beta|public|internal] + * npx tsx build/tsdoc-stub.ts --file --symbols [--default-release ...] + * npx tsx build/tsdoc-stub.ts --file --all-exports [--default-release ...] */ -import { Project, Node, type SourceFile } from 'ts-morph' -import type { - FunctionDeclaration, - ArrowFunction, - FunctionExpression, - MethodDeclaration, -} from 'ts-morph' -import { resolve, dirname } from 'path' -import { fileURLToPath } from 'url' -import { readFileSync } from 'fs' - -const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..') +import { Project } from 'ts-morph' +import { resolve } from 'path' +import { + ROOT, + VALID_RELEASE_TAGS, + type ReleaseTag, + processSymbol, +} from './tsdoc-stub-lib.js' function getArg(flag: string): string | undefined { const idx = process.argv.indexOf(flag) return idx !== -1 ? process.argv[idx + 1] : undefined } +function hasFlag(flag: string): boolean { + return process.argv.includes(flag) +} + const filePath = getArg('--file') -const symbolName = getArg('--symbol') -const defaultRelease = getArg('--default-release') ?? 'alpha' +const symbolArg = getArg('--symbol') +const symbolsArg = getArg('--symbols') +const allExports = hasFlag('--all-exports') +const defaultRelease = (getArg('--default-release') ?? 'alpha') as ReleaseTag + +// ─── Validation ─────────────────────────────────────────────────────────────── -const VALID_RELEASE_TAGS = ['alpha', 'beta', 'public', 'internal'] as const -type ReleaseTag = (typeof VALID_RELEASE_TAGS)[number] +if (!filePath) { + process.stderr.write('Error: --file is required\n') + process.exit(1) +} -if (!filePath || !symbolName) { +const modeCount = [symbolArg, symbolsArg, allExports].filter(Boolean).length +if (modeCount === 0) { process.stderr.write( - 'Usage: npx tsx scripts/tsdoc-stub.ts --file --symbol [--default-release alpha|beta|public|internal]\n', + 'Error: one of --symbol, --symbols, or --all-exports is required\n' + + 'Usage:\n' + + ' npx tsx build/tsdoc-stub.ts --file --symbol [--default-release ...]\n' + + ' npx tsx build/tsdoc-stub.ts --file --symbols [--default-release ...]\n' + + ' npx tsx build/tsdoc-stub.ts --file --all-exports [--default-release ...]\n', ) process.exit(1) } -if (!VALID_RELEASE_TAGS.includes(defaultRelease as ReleaseTag)) { +if (modeCount > 1) { + process.stderr.write('Error: --symbol, --symbols, and --all-exports are mutually exclusive\n') + process.exit(1) +} + +if (!VALID_RELEASE_TAGS.includes(defaultRelease)) { process.stderr.write( `Invalid --default-release "${defaultRelease}". Must be one of: ${VALID_RELEASE_TAGS.join(', ')}\n`, ) process.exit(1) } +// ─── Project setup ──────────────────────────────────────────────────────────── + const project = new Project({ tsConfigFilePath: resolve(ROOT, 'tsconfig.json'), skipAddingFilesFromTsConfig: true, @@ -78,206 +106,50 @@ if (!sourceFile) { process.exit(1) } -const exportedDecls = sourceFile.getExportedDeclarations() -const decls = exportedDecls.get(symbolName) - -if (!decls || decls.length === 0) { - process.stderr.write(`Symbol '${symbolName}' not found as an export in ${filePath}\n`) - process.exit(1) -} - -// For function overloads, the first declaration is the implementation signature -const decl = decls[0]! +// ─── Single mode ────────────────────────────────────────────────────────────── -const RELEASE_TAG_PATTERN = /@(?:public|beta|alpha|internal)\b/ - -interface ExistingComment { - text: string - summary: string | null - startLine: number - endLine: number -} - -function findExistingComment(node: Node, sf: SourceFile): ExistingComment | null { - // Comments live on the parent VariableStatement for variable declarations - const target = Node.isVariableDeclaration(node) ? (node.getParent()?.getParent() ?? node) : node - - const ranges = target.getLeadingCommentRanges() - if (ranges.length === 0) return null - - // Only consider comments immediately before the declaration (≤1 blank line gap) - const declLine = target.getStartLineNumber() - const nearby = ranges.filter(r => { - const endLine = sf.getLineAndColumnAtPos(r.getEnd()).line + 1 - return declLine - endLine <= 1 - }) - if (nearby.length === 0) return null - - const first = nearby[0]! - const last = nearby[nearby.length - 1]! - const text = nearby.map(r => r.getText()).join('\n') - - let summary: string | null = null - const firstText = first.getText() - if (firstText.startsWith('/*')) { - const lines = firstText - .replace(/^\/\*+\s*/, '') - .replace(/\s*\*+\/$/, '') - .split('\n') - .map(l => l.replace(/^\s*\*\s?/, '').trim()) - .filter(Boolean) - summary = lines.find(l => !l.startsWith('@')) ?? null - } else { - summary = - nearby - .map(r => - r - .getText() - .replace(/^\/\/\s?/, '') - .trim(), - ) - .filter(Boolean) - .join(' ') || null - } - - const startLine = sf.getLineAndColumnAtPos(first.getPos()).line + 1 - const endLine = sf.getLineAndColumnAtPos(last.getEnd() - 1).line + 1 - - return { text, summary, startLine, endLine } -} - -function parseCommentStructure(text: string): { - params: string[] - typeParams: string[] - hasReturns: boolean - hasReleaseTag: boolean -} { - const params: string[] = [] - const typeParams: string[] = [] - let hasReturns = false - let hasReleaseTag = false - - for (const line of text.split('\n')) { - const stripped = line.replace(/^\s*(?:\/\/\s?|\*\s?)?/, '').trim() - if (RELEASE_TAG_PATTERN.test(stripped)) hasReleaseTag = true - const nameMatch = stripped.match(/^@(\S+)\s+(\S+)/) - if (nameMatch?.[1] === 'param') params.push(nameMatch[2]!) - if (nameMatch?.[1] === 'typeParam') typeParams.push(nameMatch[2]!) - if (/^@returns?\b/.test(stripped)) hasReturns = true +if (symbolArg) { + try { + const block = processSymbol(symbolArg, sourceFile, defaultRelease) + if (block === null) { + process.stderr.write(`Symbol '${symbolArg}' already has a TSDoc comment — skipping.\n`) + process.exit(0) + } + process.stdout.write(block) + } catch (err) { + process.stderr.write(`${(err as Error).message}\n`) + process.exit(1) } - - return { params, typeParams, hasReturns, hasReleaseTag } -} - -function isAligned(comment: ExistingComment, info: SymbolInfo): boolean { - const { params, typeParams, hasReturns, hasReleaseTag } = parseCommentStructure(comment.text) - return ( - hasReleaseTag && - info.hasReturn === hasReturns && - params.join(',') === info.params.join(',') && - typeParams.join(',') === info.typeParams.join(',') - ) -} - -interface SymbolInfo { - typeParams: string[] - params: string[] - hasReturn: boolean -} - -function isVoidReturn(text: string): boolean { - const trimmed = text.trim() - return trimmed === 'void' || trimmed === 'undefined' || trimmed === 'never' -} - -type FunctionLike = FunctionDeclaration | ArrowFunction | FunctionExpression | MethodDeclaration - -function extractFunctionLike(node: FunctionLike): SymbolInfo { - const typeParams = node.getTypeParameters().map(tp => tp.getName()) - const params = node.getParameters().map(p => p.getName()) - const returnTypeNode = node.getReturnTypeNode() - const hasReturn = returnTypeNode === undefined || !isVoidReturn(returnTypeNode.getText()) - return { typeParams, params, hasReturn } + process.exit(0) } -function extractInfo(node: Node): SymbolInfo { - if (Node.isFunctionDeclaration(node) || Node.isMethodDeclaration(node)) { - return extractFunctionLike(node) - } +// ─── Batch mode ─────────────────────────────────────────────────────────────── - if (Node.isVariableDeclaration(node)) { - const init = node.getInitializer() - if (init && (Node.isArrowFunction(init) || Node.isFunctionExpression(init))) { - return extractFunctionLike(init) - } - return { typeParams: [], params: [], hasReturn: false } - } +let symbolNames: string[] - if ( - Node.isInterfaceDeclaration(node) || - Node.isTypeAliasDeclaration(node) || - Node.isClassDeclaration(node) - ) { - return { - typeParams: node.getTypeParameters().map(tp => tp.getName()), - params: [], - hasReturn: false, - } +if (allExports) { + // Only symbols whose first declaration lives in this file (skip re-exports) + symbolNames = [...sourceFile.getExportedDeclarations().entries()] + .filter(([, decls]) => decls[0]?.getSourceFile().getFilePath() === absPath) + .map(([name]) => name) +} else { + symbolNames = (symbolsArg ?? '').split(',').map(s => s.trim()).filter(Boolean) + if (symbolNames.length === 0) { + process.stderr.write('Error: --symbols requires a comma-separated list of symbol names\n') + process.exit(1) } - - // Enums and anything else: no tags needed beyond release tag - return { typeParams: [], params: [], hasReturn: false } } -function resolveReleaseTag(symbolName: string, fallback: ReleaseTag): string { - const reportPath = resolve(ROOT, '.reports/embedded-react-sdk.api.md') - let report: string +for (const name of symbolNames) { try { - report = readFileSync(reportPath, 'utf8') - } catch { - return `@${fallback}` - } - const marker = `(ae-missing-release-tag) "${symbolName}"` - return report.includes(marker) ? '@public' : `@${fallback}` -} - -function buildSkeleton( - { typeParams, params, hasReturn }: SymbolInfo, - releaseTag: string, - summary: string | null = null, -): string { - const tagLines: string[] = [] - - for (const tp of typeParams) { - tagLines.push(` * @typeParam ${tp} -`) - } - for (const p of params) { - tagLines.push(` * @param ${p} -`) - } - if (hasReturn) { - tagLines.push(' * @returns') + const block = processSymbol(name, sourceFile, defaultRelease) + if (block === null) { + process.stdout.write(`SYMBOL: ${name}\nSKIP\n`) + } else { + process.stdout.write(`SYMBOL: ${name}\n${block}`) + } + } catch (err) { + process.stderr.write(`Warning: ${(err as Error).message}\n`) + // Continue to next symbol — don't abort the whole batch } - tagLines.push(` * ${releaseTag}`) - - const summaryLine = summary ? ` * ${summary}` : ' *' - return ['/**', summaryLine, ...tagLines, ' */'].join('\n') } - -const existingComment = findExistingComment(decl, sourceFile!) -const info = extractInfo(decl) - -if (existingComment && isAligned(existingComment, info)) { - process.stderr.write(`Symbol '${symbolName}' already has a TSDoc comment — skipping.\n`) - process.exit(0) -} - -const releaseTag = resolveReleaseTag(symbolName, defaultRelease as ReleaseTag) -const declarationText = decl.getText() -const skeleton = buildSkeleton(info, releaseTag, existingComment?.summary ?? null) - -let output = existingComment - ? `LINE:${existingComment.startLine}\nDELETE_THROUGH:${existingComment.endLine}\nOLD_COMMENT:\n${existingComment.text}\n---\n` - : `LINE:${decl.getStartLineNumber()}\n` - -output += `DECLARATION:\n${declarationText}\n---\n${skeleton}\n` -process.stdout.write(output) From 9136bf185a2d2eb8692dc1923da8b94d0fb69521 Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Mon, 1 Jun 2026 14:43:19 -0700 Subject: [PATCH 07/11] chore: regenerate report with updated api library --- .reports/embedded-react-sdk.api.md | 68 +++++++++++++++--------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.reports/embedded-react-sdk.api.md b/.reports/embedded-react-sdk.api.md index 726b29748..339d9ea1c 100644 --- a/.reports/embedded-react-sdk.api.md +++ b/.reports/embedded-react-sdk.api.md @@ -4,63 +4,63 @@ ```ts -import { AfterErrorContext } from '@gusto/embedded-api/hooks/types'; -import { AfterErrorHook } from '@gusto/embedded-api/hooks/types'; -import { AfterSuccessContext } from '@gusto/embedded-api/hooks/types'; -import { AfterSuccessHook } from '@gusto/embedded-api/hooks/types'; -import { Agencies } from '@gusto/embedded-api/models/components/childsupportdata'; +import { AfterErrorContext } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; +import { AfterErrorHook } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; +import { AfterSuccessContext } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; +import { AfterSuccessHook } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; +import { Agencies } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata'; import { AnchorHTMLAttributes } from 'react'; import { AriaAttributes } from 'react'; -import { BeforeCreateRequestContext } from '@gusto/embedded-api/hooks/types'; -import { BeforeCreateRequestHook } from '@gusto/embedded-api/hooks/types'; -import { BeforeRequestContext } from '@gusto/embedded-api/hooks/types'; -import { BeforeRequestHook } from '@gusto/embedded-api/hooks/types'; +import { BeforeCreateRequestContext } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; +import { BeforeCreateRequestHook } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; +import { BeforeRequestContext } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; +import { BeforeRequestHook } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; import { ButtonHTMLAttributes } from 'react'; -import { Compensation } from '@gusto/embedded-api/models/components/compensation'; +import { Compensation } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation'; import { ComponentType } from 'react'; -import { Contractor as Contractor_2 } from '@gusto/embedded-api/models/components/contractor'; -import { ContractorAddress } from '@gusto/embedded-api/models/components/contractoraddress'; +import { Contractor as Contractor_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; +import { ContractorAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/contractoraddress'; import { Control } from 'react-hook-form'; import { CustomTypeOptions } from 'i18next'; import { default as default_2 } from 'react'; -import { Employee as Employee_2 } from '@gusto/embedded-api/models/components/employee'; -import { EmployeeAddress } from '@gusto/embedded-api/models/components/employeeaddress'; -import { EmployeeBankAccount } from '@gusto/embedded-api/models/components/employeebankaccount'; -import { EmployeeFederalTax } from '@gusto/embedded-api/models/components/employeefederaltax'; -import { EmployeePaymentMethod } from '@gusto/embedded-api/models/components/employeepaymentmethod'; -import { EmployeeStateTaxesList } from '@gusto/embedded-api/models/components/employeestatetaxeslist'; -import { EmployeeStateTaxQuestion } from '@gusto/embedded-api/models/components/employeestatetaxquestion'; -import { EmployeeWorkAddress } from '@gusto/embedded-api/models/components/employeeworkaddress'; +import { Employee as Employee_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/employee'; +import { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress'; +import { EmployeeBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccount'; +import { EmployeeFederalTax } from '@gusto/embedded-api-v-2025-11-15/models/components/employeefederaltax'; +import { EmployeePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod'; +import { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxeslist'; +import { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxquestion'; +import { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress'; import { ErrorInfo } from 'react'; import { FallbackProps } from 'react-error-boundary'; import { FieldsetHTMLAttributes } from 'react'; import { FieldValues } from 'react-hook-form'; -import { FlsaStatusType } from '@gusto/embedded-api/models/components/flsastatustype'; +import { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype'; import { FocusEvent as FocusEvent_2 } from 'react'; -import { Form } from '@gusto/embedded-api/models/components/form'; -import { Garnishment } from '@gusto/embedded-api/models/components/garnishment'; -import { GarnishmentType } from '@gusto/embedded-api/models/components/garnishment'; +import { Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form'; +import { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment'; +import { GarnishmentType } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment'; import { HTMLAttributes } from 'react'; import { InputHTMLAttributes } from 'react'; -import { Job } from '@gusto/embedded-api/models/components/job'; +import { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job'; import { JSX } from 'react'; import { JSX as JSX_2 } from 'react/jsx-runtime'; import { JSXElementConstructor } from 'react'; -import { Location as Location_2 } from '@gusto/embedded-api/models/components/location'; -import { MinimumWage } from '@gusto/embedded-api/models/components/minimumwage'; -import { PaymentPeriod } from '@gusto/embedded-api/models/components/garnishmentchildsupport'; -import { PaymentUnit } from '@gusto/embedded-api/models/components/compensation'; -import { PayrollPayPeriodType } from '@gusto/embedded-api/models/components/payrollpayperiodtype'; -import { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api/models/components/payschedulepreviewpayperiod'; -import { PayScheduleShow } from '@gusto/embedded-api/models/components/payscheduleshow'; -import { PolicyType as PolicyType_2 } from '@gusto/embedded-api/models/components/timeoffpolicy'; +import { Location as Location_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/location'; +import { MinimumWage } from '@gusto/embedded-api-v-2025-11-15/models/components/minimumwage'; +import { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport'; +import { PaymentUnit } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation'; +import { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype'; +import { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payschedulepreviewpayperiod'; +import { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow'; +import { PolicyType as PolicyType_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy'; import { QueryClient } from '@tanstack/react-query'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; import { Ref } from 'react'; import { RefObject } from 'react'; import { SelectHTMLAttributes } from 'react'; -import { Signatory } from '@gusto/embedded-api/models/components/signatory'; +import { Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'; import { SyntheticEvent } from 'react'; import { TableHTMLAttributes } from 'react'; import { TextareaHTMLAttributes } from 'react'; From 7fb2c438014df506f23d743a7d501e3932372156 Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Mon, 1 Jun 2026 14:57:48 -0700 Subject: [PATCH 08/11] build: rename skills for consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename write-tsdoc → tsdoc-file and document-directory → tsdoc-directory. Add Phase 0 baseline build step to tsdoc-directory so the API report diff reflects only documentation changes made during the run. Co-Authored-By: Claude Sonnet 4.6 --- .claude/agents/tsdoc-api-documenter.md | 8 +++--- .claude/agents/tsdoc-backfill.md | 2 +- .../SKILL.md | 25 +++++++++++++++++-- .../{write-tsdoc => tsdoc-file}/SKILL.md | 7 ++++-- 4 files changed, 33 insertions(+), 9 deletions(-) rename .claude/skills/{document-directory => tsdoc-directory}/SKILL.md (89%) rename .claude/skills/{write-tsdoc => tsdoc-file}/SKILL.md (98%) diff --git a/.claude/agents/tsdoc-api-documenter.md b/.claude/agents/tsdoc-api-documenter.md index 6d04ba4f8..664364deb 100644 --- a/.claude/agents/tsdoc-api-documenter.md +++ b/.claude/agents/tsdoc-api-documenter.md @@ -1,13 +1,13 @@ --- name: 'tsdoc-api-documenter' -description: 'TSDoc documentation specialist for embedded-react-sdk. Use when newly written exported symbols need TSDoc comments added before merging — hooks, components, types, or utilities. For auditing and backfilling an entire directory, use the tsdoc-backfill agent instead.' +description: 'TSDoc documentation specialist for embedded-react-sdk. Use when newly written exported symbols need TSDoc comments added before merging — hooks, components, types, or utilities. For auditing and backfilling an entire directory, use the tsdoc-directory skill instead.' model: opus color: purple memory: user permissionMode: acceptEdits allowed-tools: [Bash, Read, Edit] skills: - - write-tsdoc + - tsdoc-file --- You are a technical documentation expert specializing in TypeScript and React library APIs. You work within the embedded-react-sdk codebase — a React component library for Gusto's Embedded Payroll product built with TypeScript, React, react-hook-form, TanStack Query, Zod, and Vite. @@ -103,14 +103,14 @@ Do NOT add TSDoc to internal/non-exported symbols, test utilities, Storybook-onl ## Workflow -The **`write-tsdoc` skill is preloaded in your context** — follow its instructions for every symbol. Do not write TSDoc from scratch; the skill generates a skeleton via `tsdoc-stub`, enforces correct tag order, and guides the file edit. +The **`tsdoc-file` skill is preloaded in your context** — follow its instructions for every symbol. Do not write TSDoc from scratch; the skill generates a skeleton via `tsdoc-stub`, enforces correct tag order, and guides the file edit. 1. Identify all exported symbols in scope. Prioritize: partner-facing hooks and components first, types and utilities second. 2. Gather source material before writing anything: - Check `docs/` for existing partner-facing prose. `docs/hooks/` in particular has detailed descriptions of headless hooks. This is the SDK-971 migration: adapt API-specific content from `docs/` directly into TSDoc so TypeDoc can replace those hand-written pages. Guide/narrative content (workflow overviews, integration patterns) stays in `docs/`. - If `docs/` has nothing relevant **and** the symbol is a top-level concern — a flow component (e.g. `EmployeeOnboarding`, `PayrollFlow`), a major exported hook, or anything where `@remarks` and `@example` require product context beyond the implementation — check MCP servers (Jira, Confluence, Notion) for product documentation or design specs. Treat MCP content the same as `docs/` prose: adapt it, don't invent. - If docs are missing and MCP yields nothing useful for a complex symbol, stop and check in rather than guessing. -3. **Generate skeletons in batch per file.** When you have multiple symbols from the same file, call `tsdoc-stub` once with `--symbols Name1,Name2,...` instead of once per symbol. This amortizes the project-load cost across all symbols in the file. The output is one `SYMBOL: NAME\n` section per symbol; `SKIP` means already aligned. Then write each non-SKIP comment following write-tsdoc steps 2–4. +3. **Generate skeletons in batch per file.** When you have multiple symbols from the same file, call `tsdoc-stub` once with `--symbols Name1,Name2,...` instead of once per symbol. This amortizes the project-load cost across all symbols in the file. The output is one `SYMBOL: NAME\n` section per symbol; `SKIP` means already aligned. Then write each non-SKIP comment following tsdoc-file steps 2–4. 4. After each file, run ESLint and fix errors before moving on. 5. If behavior is unclear from the implementation, stop — see Guardrails below. diff --git a/.claude/agents/tsdoc-backfill.md b/.claude/agents/tsdoc-backfill.md index f50f20b55..52da63ab9 100644 --- a/.claude/agents/tsdoc-backfill.md +++ b/.claude/agents/tsdoc-backfill.md @@ -1,6 +1,6 @@ --- name: 'tsdoc-backfill' -description: 'TSDoc setup and discovery agent for embedded-react-sdk. Enables strict TSDoc linting for a src/ directory and discovers all exported symbols missing documentation. Returns a structured violation list. Used by the document-directory skill — do not invoke directly for writing docs.' +description: 'TSDoc setup and discovery agent for embedded-react-sdk. Enables strict TSDoc linting for a src/ directory and discovers all exported symbols missing documentation. Returns a structured violation list. Used by the tsdoc-directory skill — do not invoke directly for writing docs.' model: opus color: purple memory: user diff --git a/.claude/skills/document-directory/SKILL.md b/.claude/skills/tsdoc-directory/SKILL.md similarity index 89% rename from .claude/skills/document-directory/SKILL.md rename to .claude/skills/tsdoc-directory/SKILL.md index e6e9199c6..f1ea3a64c 100644 --- a/.claude/skills/document-directory/SKILL.md +++ b/.claude/skills/tsdoc-directory/SKILL.md @@ -1,5 +1,5 @@ --- -name: document-directory +name: tsdoc-directory description: >- Fully document a src/ directory by orchestrating the tsdoc-backfill and tsdoc-api-documenter agents. Use when asked to document a directory, expand @@ -18,6 +18,19 @@ Orchestrates two agents to fully document a `src/` directory: `$ARGUMENTS` is the target directory. Normalise it: strip leading `./` or trailing `/`. If it doesn't start with `src/`, prepend `src/`. +## Phase 0 — Baseline build and API report + +Before doing anything else, run a clean build and derive the current API report: + +```bash +npm run build && npm run api-report:derive 2>&1 +``` + +This ensures the API report reflects the current state of the repo before any documentation changes are made. The diff +in Phase 3 will then show only what this run changed. + +If the build fails, stop and report the error to the user — do not proceed. + ## Phase 1 — Setup and discovery (foreground) Spawn the `tsdoc-backfill` agent: @@ -39,6 +52,7 @@ Spawn the `tsdoc-api-documenter` agent with **`run_in_background: true`**: - **prompt**: ``` + Document the following exported symbols in the embedded-react-sdk repo. These were discovered by the tsdoc-backfill agent as missing TSDoc in $TARGET. @@ -46,16 +60,19 @@ Violation list: Work through each file in order. For each file: + 1. Run tsdoc-stub **once** for the whole file using `--all-exports` (or `--symbols` if only a subset needs documenting) to generate all skeletons in a single call. Never call tsdoc-stub once per symbol — each invocation is expensive. 2. Check docs/ for existing prose to adapt before filling in any prose (docs/hooks/ for hooks, docs/integration-guide/ for utilities). For top-level or complex symbols with nothing in docs/, check MCP (Jira, Confluence, Notion) for product context. 3. Fill in prose for all symbols in the file, then write them all to the file (multiple Edit calls in the same turn where possible). 4. Run ESLint on the file once after all symbols are written; fix any errors before moving on. For exported **React components**, before writing the events table in `@remarks`: + - Find every `onEvent(companyEvents.*, ...)` call in the component file — including calls inside nested handler functions (e.g. a function like `onXxxFormEvent` that proxies events from a child component's `onEvent`). These bubbled-up events must appear in the table. - Cross-reference the events table in docs/ to catch any you might have missed. Return a summary of what was documented and any symbols skipped with reasons. + ``` ## Phase 3 — Final verification and report (on completion notification) @@ -63,16 +80,19 @@ Return a summary of what was documented and any symbols skipped with reasons. When the background agent completes, run in sequence: **Step 1 — ESLint** + ```bash npx eslint '$TARGET' 2>&1 ``` **Step 2 — Build and API report** + ```bash npm run build && npm run api-report:derive 2>&1 ``` Then diff the report to see what changed: + ```bash git diff .reports/embedded-react-sdk.api.md ``` @@ -80,7 +100,8 @@ git diff .reports/embedded-react-sdk.api.md **Step 3 — Fix forgotten exports** Scan the diff for `ae-forgotten-export` warnings. For each one: -- Find which barrel file exports the symbol that *references* the forgotten type (e.g. if `AssignSignatoryProps` is forgotten and `AssignSignatory` is exported from `Company/exports/companyOnboarding.ts`, add `AssignSignatoryProps` there too). + +- Find which barrel file exports the symbol that _references_ the forgotten type (e.g. if `AssignSignatoryProps` is forgotten and `AssignSignatory` is exported from `Company/exports/companyOnboarding.ts`, add `AssignSignatoryProps` there too). - The type does not need to be re-exported from the top-level `src/index.ts` — the nearest barrel file that already exports the referencing symbol is sufficient. - Re-run `npm run build && npm run api-report:derive` after making changes to confirm the warning is gone. diff --git a/.claude/skills/write-tsdoc/SKILL.md b/.claude/skills/tsdoc-file/SKILL.md similarity index 98% rename from .claude/skills/write-tsdoc/SKILL.md rename to .claude/skills/tsdoc-file/SKILL.md index c22ab2314..676b9b63e 100644 --- a/.claude/skills/write-tsdoc/SKILL.md +++ b/.claude/skills/tsdoc-file/SKILL.md @@ -1,5 +1,5 @@ --- -name: write-tsdoc +name: tsdoc-file description: >- Write a valid TSDoc comment for an exported SDK symbol. Use when adding documentation to a new export, documenting an existing export, or when a @@ -9,7 +9,7 @@ description: >- # Write TSDoc -Only invoke this skill for **exported symbols** in **`src/**/\*.{ts,tsx}`\*\*, excluding: +Only invoke this skill for **exported symbols** in **`src/**\/\*.{ts,tsx}`\*\*, excluding: - `**/*.stories.{ts,tsx}` - `**/*.test.{ts,tsx}` @@ -29,16 +29,19 @@ If any segment of the file path is `shared` or `helpers`, pass `--default-releas - Only use `--symbol` (singular) when there is exactly one symbol to document in the file. **All exported symbols in a file (use when the violation list covers most or all of a file):** + ```bash npx tsx build/tsdoc-stub.ts --file --all-exports [--default-release internal] ``` **A specific subset of symbols from the same file:** + ```bash npx tsx build/tsdoc-stub.ts --file --symbols Name1,Name2,Name3 [--default-release internal] ``` **Single symbol (only when there is exactly one symbol to document in this file):** + ```bash npx tsx build/tsdoc-stub.ts --file --symbol [--default-release internal] ``` From cffab29972555b884be02b47eabdb615893642ae Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Mon, 1 Jun 2026 16:15:18 -0700 Subject: [PATCH 09/11] chore: fix format errors --- .prettierignore | 1 + .reports/config/api-extractor.json | 11 +++-------- build/tsdoc-stub-lib.ts | 4 ++-- build/tsdoc-stub.ts | 12 +++++------- package.json | 2 +- 5 files changed, 12 insertions(+), 18 deletions(-) diff --git a/.prettierignore b/.prettierignore index c0dbd41f1..ea40aa415 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,4 +6,5 @@ src/types/i18nresources.d.ts docs/reference/endpoint-inventory.json docs/reference/endpoint-reference.md .claude/settings.local.json +.reports/*.md docs-site/build/ \ No newline at end of file diff --git a/.reports/config/api-extractor.json b/.reports/config/api-extractor.json index 93c874a3b..0c8cc58ed 100644 --- a/.reports/config/api-extractor.json +++ b/.reports/config/api-extractor.json @@ -7,10 +7,7 @@ "compiler": { "overrideTsconfig": { "compilerOptions": { - "lib": [ - "ESNext", - "DOM" - ], + "lib": ["ESNext", "DOM"], "target": "ESNext", "module": "ESNext", "moduleResolution": "bundler", @@ -21,9 +18,7 @@ "skipLibCheck": true, "strict": true }, - "files": [ - "dist/index.d.ts" - ] + "files": ["dist/index.d.ts"] } }, "apiReport": { @@ -60,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/build/tsdoc-stub-lib.ts b/build/tsdoc-stub-lib.ts index 263e4a68e..ccc898d76 100644 --- a/build/tsdoc-stub-lib.ts +++ b/build/tsdoc-stub-lib.ts @@ -208,11 +208,11 @@ export function collectOnEventKeys(info: SymbolInfo, sf: SourceFile): string[] | const fileText = sf.getFullText() const hasOnEventParam = info.params.some(p => p.includes('onEvent')) - const hasDirectCalls = /onEvent\(componentEvents\./.test(fileText) + const hasDirectCalls = /onEvent\(\w+Events\./.test(fileText) if (!hasOnEventParam && !hasDirectCalls) return null const keys = new Set() - const EVENT_REF = /componentEvents\.(\w+)/g + const EVENT_REF = /\w+Events\.(\w+)/g function scanText(text: string) { for (const m of text.matchAll(EVENT_REF)) { diff --git a/build/tsdoc-stub.ts b/build/tsdoc-stub.ts index 38d1db3f4..c5f3cb789 100644 --- a/build/tsdoc-stub.ts +++ b/build/tsdoc-stub.ts @@ -37,12 +37,7 @@ import { Project } from 'ts-morph' import { resolve } from 'path' -import { - ROOT, - VALID_RELEASE_TAGS, - type ReleaseTag, - processSymbol, -} from './tsdoc-stub-lib.js' +import { ROOT, VALID_RELEASE_TAGS, type ReleaseTag, processSymbol } from './tsdoc-stub-lib.js' function getArg(flag: string): string | undefined { const idx = process.argv.indexOf(flag) @@ -133,7 +128,10 @@ if (allExports) { .filter(([, decls]) => decls[0]?.getSourceFile().getFilePath() === absPath) .map(([name]) => name) } else { - symbolNames = (symbolsArg ?? '').split(',').map(s => s.trim()).filter(Boolean) + symbolNames = (symbolsArg ?? '') + .split(',') + .map(s => s.trim()) + .filter(Boolean) if (symbolNames.length === 0) { process.stderr.write('Error: --symbols requires a comma-separated list of symbol names\n') process.exit(1) diff --git a/package.json b/package.json index da143d07e..568837ea0 100644 --- a/package.json +++ b/package.json @@ -194,4 +194,4 @@ "e2e/public" ] } -} \ No newline at end of file +} From c3ecabf297b7ddc79ed113c42a1bcf1ceefa346b Mon Sep 17 00:00:00 2001 From: Marie Chatfield Date: Tue, 2 Jun 2026 13:11:06 -0700 Subject: [PATCH 10/11] chore: run api-report on merged main --- .reports/embedded-react-sdk.api.md | 53 +++++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 5 deletions(-) diff --git a/.reports/embedded-react-sdk.api.md b/.reports/embedded-react-sdk.api.md index 339d9ea1c..a5107e9bb 100644 --- a/.reports/embedded-react-sdk.api.md +++ b/.reports/embedded-react-sdk.api.md @@ -793,11 +793,11 @@ export interface CompensationFormFields { // Warning: (ae-forgotten-export) The symbol "PaymentUnitField" needs to be exported by the entry point index.d.ts // // (undocumented) - PaymentUnit: typeof PaymentUnitField; + PaymentUnit: typeof PaymentUnitField | undefined; // Warning: (ae-forgotten-export) The symbol "RateField" needs to be exported by the entry point index.d.ts // // (undocumented) - Rate: typeof RateField; + Rate: typeof RateField | undefined; // Warning: (ae-forgotten-export) The symbol "TitleField" needs to be exported by the entry point index.d.ts // // (undocumented) @@ -1079,6 +1079,10 @@ export const componentEvents: { readonly EMPLOYEE_REHIRE: "employee/rehire"; readonly EMPLOYEE_DASHBOARD_TAB_CHANGE: "employee/dashboard/tabChange"; readonly EMPLOYEE_RETURN_TO_LIST: "employee/returnToList"; + readonly EMPLOYEE_PROFILE_MANAGEMENT_EDIT_REQUESTED: "employee/profile/management/editRequested"; + readonly EMPLOYEE_PROFILE_MANAGEMENT_UPDATED: "employee/profile/management/updated"; + readonly EMPLOYEE_PROFILE_MANAGEMENT_EDIT_CANCELLED: "employee/profile/management/editCancelled"; + readonly EMPLOYEE_PROFILE_MANAGEMENT_ALERT_DISMISSED: "employee/profile/management/alertDismissed"; readonly ROBOT_MACHINE_DONE: "done"; readonly ERROR: "ERROR"; readonly CANCEL: "CANCEL"; @@ -2008,6 +2012,8 @@ declare namespace EmployeeManagement { EmployeeDocuments, DocumentManager, DashboardFlow, + HomeAddress, + HomeAddressProps, WorkAddress, WorkAddressProps, FederalTaxes_2 as FederalTaxes, @@ -2015,7 +2021,11 @@ declare namespace EmployeeManagement { StateTaxes_2 as StateTaxes, StateTaxesProps_2 as StateTaxesProps, Profile_2 as Profile, + ProfileCard, + ProfileEditForm, ProfileProps_2 as ProfileProps, + ProfileCardProps, + ProfileEditFormProps, PaymentMethod_3 as PaymentMethod, PaymentMethodProps_3 as PaymentMethodProps, TerminateEmployee, @@ -3800,18 +3810,48 @@ function Profile(input: ProfileProps & BaseComponentInterface): JSX_2.Element; // Warning: (ae-missing-release-tag) "Profile" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -function Profile_2(input: ProfileProps_2 & Pick): JSX_2.Element; +function Profile_2(input: ProfileProps_2 & BaseComponentInterface<'Employee.Profile.Management'>): JSX_2.Element; -// Warning: (ae-missing-release-tag) "ProfileProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// Warning: (ae-missing-release-tag) "ProfileCard" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public +function ProfileCard(input: ProfileCardProps): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ProfileCardProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ProfileCardProps { + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: OnEventType; +} + +// Warning: (ae-missing-release-tag) "ProfileEditForm" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +function ProfileEditForm(input: ProfileEditFormProps & Pick): JSX_2.Element; + +// Warning: (ae-missing-release-tag) "ProfileEditFormProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -interface ProfileProps_2 extends CommonComponentInterface<'Employee.Profile'> { +interface ProfileEditFormProps extends CommonComponentInterface<'Employee.Profile'> { // (undocumented) employeeId: string; // (undocumented) onEvent: BaseComponentInterface['onEvent']; } +// Warning: (ae-missing-release-tag) "ProfileProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) +// +// @public (undocumented) +interface ProfileProps_2 extends CommonComponentInterface<'Employee.Profile.Management'> { + // (undocumented) + employeeId: string; + // (undocumented) + onEvent: OnEventType; +} + // Warning: (ae-missing-release-tag) "ProgressBarProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -4990,6 +5030,9 @@ export interface UseCompensationFormReady extends BaseFormHookReady Date: Tue, 2 Jun 2026 14:32:47 -0700 Subject: [PATCH 11/11] chore: refine tsdoc agents and skills based on review feedback and profiling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove Codebase-Specific Patterns section from documenter (not exhaustive, adds noise) - Remove comment-length guardrail (not effective for flow components) - Add no-internal-leakage rule: public/beta/alpha comments must not mention internal symbols - Improve ESLint guidance: fix all errors in one pass, confirm with a single re-run - Backfill: use ESLint output directly for violation list, don't re-read source files - Backfill Case B: expand existing override block's files array instead of duplicating the block - Simplify events table Data column: plain text description instead of requiring cross-package links - Directory skill: batch documenter sessions by subdirectory (≤5 files each), parallel across groups Co-Authored-By: Claude Sonnet 4.6 --- .claude/agents/tsdoc-api-documenter.md | 14 ++----------- .claude/agents/tsdoc-backfill.md | 9 ++++++--- .claude/skills/tsdoc-directory/SKILL.md | 27 +++++++++++++++++++------ .claude/skills/tsdoc-file/SKILL.md | 2 +- 4 files changed, 30 insertions(+), 22 deletions(-) diff --git a/.claude/agents/tsdoc-api-documenter.md b/.claude/agents/tsdoc-api-documenter.md index 664364deb..3c7407630 100644 --- a/.claude/agents/tsdoc-api-documenter.md +++ b/.claude/agents/tsdoc-api-documenter.md @@ -79,21 +79,12 @@ Do NOT add TSDoc to internal/non-exported symbols, test utilities, Storybook-onl - Do NOT speculate about the partner's app or workflow. Describe what it does and how to use it. - Write neutrally or in second person — not "partners should…". - Keep examples minimal but realistic. +- Do NOT leak internal implementation details into `@public`, `@beta`, or `@alpha` comments. Never mention internal components, hooks, utilities, or patterns by name (e.g. "this component uses `ComponentsContext`" or "calls `useInternalFoo` internally"). The audience for these tags is a library consumer who cannot see or use internal symbols. `@internal` comments may reference anything since their audience is SDK contributors. ## TypeScript Patterns That Affect Doc Quality **Prefer `interface` over `type = { ... }` for named object shapes** (props types, return types, callback signatures). TypeDoc renders interfaces with full property tables and tracks `extends` relationships. TypeScript preserves member-level TSDoc in `.d.ts` emit for interfaces but not for object-type aliases — so IDE hover tooltips only show per-property docs when the type is declared as an `interface`. If you're adding TSDoc to a type alias that has documented properties, flag it for conversion to `interface`. -## Codebase-Specific Patterns - -**ComponentsContext**: Note that UI rendering goes through `useComponentContext()` and visual output depends on the configured component set. - -**Field Components** (`src/components/Common/Fields/`): Must be used inside a `FormProvider` from react-hook-form. - -**Partner hooks**: For hooks returning `errorHandling`, document how the result integrates with `composeErrorHandler`. Reference `composeSubmitHandler` for multi-form screens. - -**API hooks** wrapping `@gusto/embedded-api`: Document the resource/action, the Suspense/mutation variant, and the auto-invalidation behavior (mutations trigger global SDK query invalidation — partners do not need to call `invalidateQueries` manually). - ## ESLint Compliance - `@param` names must match actual parameter names exactly (case-sensitive). @@ -111,14 +102,13 @@ The **`tsdoc-file` skill is preloaded in your context** — follow its instructi - If `docs/` has nothing relevant **and** the symbol is a top-level concern — a flow component (e.g. `EmployeeOnboarding`, `PayrollFlow`), a major exported hook, or anything where `@remarks` and `@example` require product context beyond the implementation — check MCP servers (Jira, Confluence, Notion) for product documentation or design specs. Treat MCP content the same as `docs/` prose: adapt it, don't invent. - If docs are missing and MCP yields nothing useful for a complex symbol, stop and check in rather than guessing. 3. **Generate skeletons in batch per file.** When you have multiple symbols from the same file, call `tsdoc-stub` once with `--symbols Name1,Name2,...` instead of once per symbol. This amortizes the project-load cost across all symbols in the file. The output is one `SYMBOL: NAME\n` section per symbol; `SKIP` means already aligned. Then write each non-SKIP comment following tsdoc-file steps 2–4. -4. After each file, run ESLint and fix errors before moving on. +4. After writing all symbols in a file, fix any ESLint errors in a single pass, then run ESLint once to confirm clean before moving to the next file. 5. If behavior is unclear from the implementation, stop — see Guardrails below. ## Guardrails — When to Stop and Check In Stop and ask the human before continuing if any of these occur: -- **Comment length**: The TSDoc comment you are drafting is more than twice as long as the code it documents. - **Repeated ESLint failures**: Five ESLint failures in a row on the same file or symbol without a clear path to fixing them. - **Guessing**: You are inferring what a symbol does rather than reading it clearly from the source. If the behavior is not obvious from the implementation, say so — do not speculate. - **Conflicting information**: Sources disagree (source code, `docs/`, MCP content) and it's not clear which is authoritative. diff --git a/.claude/agents/tsdoc-backfill.md b/.claude/agents/tsdoc-backfill.md index 52da63ab9..fa2b7f773 100644 --- a/.claude/agents/tsdoc-backfill.md +++ b/.claude/agents/tsdoc-backfill.md @@ -23,8 +23,11 @@ TSDoc rules. If `/**` appears literally (e.g. `'src/helpers/**'`), delete only that one string. Leave all sibling entries untouched. **Case B — an ancestor glob covers the target.** -If a parent-level glob (e.g. `'src/components/**'`) matches `` but `/**` is not listed, do NOT modify the existing block. Instead, append a new -config block immediately after the well-documented block: +If a parent-level glob (e.g. `'src/components/**'`) matches `` but `/**` is not listed, do NOT modify the existing block. + +First, check whether a Case B override block already exists — look for a block whose comment starts with `/** Library: well-documented code —`. If one exists, **add `'/**/\*.{ts,tsx}'`to its`files` array\*\* rather than creating a new block. Update the comment to list all covered paths. + +If no Case B block exists yet, append a new one immediately after the well-documented block: ```ts /** Library: well-documented code — . */ @@ -46,7 +49,7 @@ config block immediately after the well-documented block: npx eslint '' 2>&1 ``` -Collect every line containing `tsdoc-coverage/require-comment`, `tsdoc-coverage/require-release-tag`, or `tsdoc/syntax`. Build a list of `{ file, line, rule }` entries. +Collect every line containing `tsdoc-coverage/require-comment`, `tsdoc-coverage/require-release-tag`, or `tsdoc/syntax`. Build a list of `{ file, line, rule }` entries. The ESLint output already contains file paths, line numbers, and symbol names — do not read source files to confirm; use the ESLint output directly to build the violation list. Return your output in this format: diff --git a/.claude/skills/tsdoc-directory/SKILL.md b/.claude/skills/tsdoc-directory/SKILL.md index f1ea3a64c..f6de1e0c3 100644 --- a/.claude/skills/tsdoc-directory/SKILL.md +++ b/.claude/skills/tsdoc-directory/SKILL.md @@ -42,13 +42,28 @@ Wait for it to complete. Capture the violation list and the eslint.config.ts cha If it reports zero violations, skip Phase 2, run the final verification below, and return the report. -## Phase 2 — Write documentation (background) +## Phase 2 — Write documentation (batched, background) -Tell the user: "Phase 1 complete — $N violations found. Documenting in the background, I'll report back when done." +### Batching strategy -Spawn the `tsdoc-api-documenter` agent with **`run_in_background: true`**: +Before spawning any agents, group the violations by **immediate parent directory** (the directory containing each file). Files in the same directory share `docs/` and MCP context and should be processed in the same session. -- **description**: `"Document violations in $TARGET"` +For each directory group: + +- **≤5 files**: one batch → one documenter session +- **>5 files**: split into sequential batches of up to 5 files each + +Spawn all **first-batch** agents across different directory groups **in parallel** (all `run_in_background: true` at once). Within a single directory group that needs multiple batches, wait for batch N to complete before spawning batch N+1 for that group. + +Tell the user: "Phase 1 complete — $N violations found across $M files. Documenting in $K batches across $G directory groups, I'll report back when all are done." + +Wait for **all background agents to complete** before proceeding to Phase 3. + +### Spawning each batch + +For each batch, spawn `tsdoc-api-documenter` with **`run_in_background: true`**: + +- **description**: `"Document violations in $DIRECTORY (batch $BATCH_N of $BATCH_TOTAL)"` - **prompt**: ``` @@ -57,14 +72,14 @@ Document the following exported symbols in the embedded-react-sdk repo. These were discovered by the tsdoc-backfill agent as missing TSDoc in $TARGET. Violation list: - + Work through each file in order. For each file: 1. Run tsdoc-stub **once** for the whole file using `--all-exports` (or `--symbols` if only a subset needs documenting) to generate all skeletons in a single call. Never call tsdoc-stub once per symbol — each invocation is expensive. 2. Check docs/ for existing prose to adapt before filling in any prose (docs/hooks/ for hooks, docs/integration-guide/ for utilities). For top-level or complex symbols with nothing in docs/, check MCP (Jira, Confluence, Notion) for product context. 3. Fill in prose for all symbols in the file, then write them all to the file (multiple Edit calls in the same turn where possible). -4. Run ESLint on the file once after all symbols are written; fix any errors before moving on. +4. After writing all symbols in a file, fix any ESLint errors in a single pass, then run ESLint once to confirm clean before moving to the next file. For exported **React components**, before writing the events table in `@remarks`: diff --git a/.claude/skills/tsdoc-file/SKILL.md b/.claude/skills/tsdoc-file/SKILL.md index 676b9b63e..328f72902 100644 --- a/.claude/skills/tsdoc-file/SKILL.md +++ b/.claude/skills/tsdoc-file/SKILL.md @@ -76,7 +76,7 @@ For exported **React components**, `@remarks` must include an events table listi | `event/string/value` | What triggers it | {@link DataType} or — | ``` -Use `{@link TypeName}` (importing the type if needed) for the Data column when a type from `@gusto/embedded-api/models/components/` matches. Use `—` when the event carries no data. +For the Data column, describe what the event carries in plain text, or use `—` when the event carries no data. **`@example`** (optional) — when a snippet meaningfully clarifies usage. **Skip for React components already documented in `docs/`** — the docs page is the canonical example. Import from the published package, not internal paths.