161847f8eSopenharmony_ci/*
261847f8eSopenharmony_ci * Copyright (c) 2022-2024 Huawei Device Co., Ltd.
361847f8eSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
461847f8eSopenharmony_ci * you may not use this file except in compliance with the License.
561847f8eSopenharmony_ci * You may obtain a copy of the License at
661847f8eSopenharmony_ci *
761847f8eSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
861847f8eSopenharmony_ci *
961847f8eSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1061847f8eSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1161847f8eSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1261847f8eSopenharmony_ci * See the License for the specific language governing permissions and
1361847f8eSopenharmony_ci * limitations under the License.
1461847f8eSopenharmony_ci */
1561847f8eSopenharmony_ci
1661847f8eSopenharmony_ci/**
1761847f8eSopenharmony_ci * @file
1861847f8eSopenharmony_ci * @kit ArkUI
1961847f8eSopenharmony_ci */
2061847f8eSopenharmony_ci
2161847f8eSopenharmony_ci/**
2261847f8eSopenharmony_ci * Defines the navigation destination common title.
2361847f8eSopenharmony_ci *
2461847f8eSopenharmony_ci * @interface NavDestinationCommonTitle
2561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
2661847f8eSopenharmony_ci * @since 9
2761847f8eSopenharmony_ci */
2861847f8eSopenharmony_ci/**
2961847f8eSopenharmony_ci * Defines the navigation destination common title.
3061847f8eSopenharmony_ci *
3161847f8eSopenharmony_ci * @interface NavDestinationCommonTitle
3261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
3361847f8eSopenharmony_ci * @crossplatform
3461847f8eSopenharmony_ci * @since 10
3561847f8eSopenharmony_ci */
3661847f8eSopenharmony_ci/**
3761847f8eSopenharmony_ci * Defines the navigation destination common title.
3861847f8eSopenharmony_ci *
3961847f8eSopenharmony_ci * @interface NavDestinationCommonTitle
4061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
4161847f8eSopenharmony_ci * @crossplatform
4261847f8eSopenharmony_ci * @atomicservice
4361847f8eSopenharmony_ci * @since 11
4461847f8eSopenharmony_ci */
4561847f8eSopenharmony_cideclare interface NavDestinationCommonTitle {
4661847f8eSopenharmony_ci  /**
4761847f8eSopenharmony_ci   * Sets the main title.
4861847f8eSopenharmony_ci   *
4961847f8eSopenharmony_ci   * @type { string }
5061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5161847f8eSopenharmony_ci   * @since 9
5261847f8eSopenharmony_ci   */
5361847f8eSopenharmony_ci  /**
5461847f8eSopenharmony_ci   * Sets the main title.
5561847f8eSopenharmony_ci   *
5661847f8eSopenharmony_ci   * @type { string }
5761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5861847f8eSopenharmony_ci   * @crossplatform
5961847f8eSopenharmony_ci   * @since 10
6061847f8eSopenharmony_ci   */
6161847f8eSopenharmony_ci  /**
6261847f8eSopenharmony_ci   * Sets the main title.
6361847f8eSopenharmony_ci   *
6461847f8eSopenharmony_ci   * @type { string }
6561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
6661847f8eSopenharmony_ci   * @crossplatform
6761847f8eSopenharmony_ci   * @atomicservice
6861847f8eSopenharmony_ci   * @since 11
6961847f8eSopenharmony_ci   */
7061847f8eSopenharmony_ci  /**
7161847f8eSopenharmony_ci   * Sets the main title.
7261847f8eSopenharmony_ci   *
7361847f8eSopenharmony_ci   * @type { string | Resource }
7461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
7561847f8eSopenharmony_ci   * @crossplatform
7661847f8eSopenharmony_ci   * @atomicservice
7761847f8eSopenharmony_ci   * @since 13
7861847f8eSopenharmony_ci   */
7961847f8eSopenharmony_ci  main: string | Resource;
8061847f8eSopenharmony_ci
8161847f8eSopenharmony_ci  /**
8261847f8eSopenharmony_ci   * Sets the sub title.
8361847f8eSopenharmony_ci   *
8461847f8eSopenharmony_ci   * @type { string }
8561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
8661847f8eSopenharmony_ci   * @since 9
8761847f8eSopenharmony_ci   */
8861847f8eSopenharmony_ci  /**
8961847f8eSopenharmony_ci   * Sets the sub title.
9061847f8eSopenharmony_ci   *
9161847f8eSopenharmony_ci   * @type { string }
9261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
9361847f8eSopenharmony_ci   * @crossplatform
9461847f8eSopenharmony_ci   * @since 10
9561847f8eSopenharmony_ci   */
9661847f8eSopenharmony_ci  /**
9761847f8eSopenharmony_ci   * Sets the sub title.
9861847f8eSopenharmony_ci   *
9961847f8eSopenharmony_ci   * @type { string }
10061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
10161847f8eSopenharmony_ci   * @crossplatform
10261847f8eSopenharmony_ci   * @atomicservice
10361847f8eSopenharmony_ci   * @since 11
10461847f8eSopenharmony_ci   */
10561847f8eSopenharmony_ci  /**
10661847f8eSopenharmony_ci   * Sets the sub title.
10761847f8eSopenharmony_ci   *
10861847f8eSopenharmony_ci   * @type { string | Resource }
10961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
11061847f8eSopenharmony_ci   * @crossplatform
11161847f8eSopenharmony_ci   * @atomicservice
11261847f8eSopenharmony_ci   * @since 13
11361847f8eSopenharmony_ci   */
11461847f8eSopenharmony_ci  sub: string | Resource;
11561847f8eSopenharmony_ci}
11661847f8eSopenharmony_ci
11761847f8eSopenharmony_ci/**
11861847f8eSopenharmony_ci * Defines the navigation destination custom title.
11961847f8eSopenharmony_ci *
12061847f8eSopenharmony_ci * @interface NavDestinationCustomTitle
12161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
12261847f8eSopenharmony_ci * @since 9
12361847f8eSopenharmony_ci */
12461847f8eSopenharmony_ci/**
12561847f8eSopenharmony_ci * Defines the navigation destination custom title.
12661847f8eSopenharmony_ci *
12761847f8eSopenharmony_ci * @interface NavDestinationCustomTitle
12861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
12961847f8eSopenharmony_ci * @crossplatform
13061847f8eSopenharmony_ci * @since 10
13161847f8eSopenharmony_ci */
13261847f8eSopenharmony_ci/**
13361847f8eSopenharmony_ci * Defines the navigation destination custom title.
13461847f8eSopenharmony_ci *
13561847f8eSopenharmony_ci * @interface NavDestinationCustomTitle
13661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
13761847f8eSopenharmony_ci * @crossplatform
13861847f8eSopenharmony_ci * @atomicservice
13961847f8eSopenharmony_ci * @since 11
14061847f8eSopenharmony_ci */
14161847f8eSopenharmony_cideclare interface NavDestinationCustomTitle {
14261847f8eSopenharmony_ci  /**
14361847f8eSopenharmony_ci   * Sets the custom title builder.
14461847f8eSopenharmony_ci   *
14561847f8eSopenharmony_ci   * @type { CustomBuilder }
14661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
14761847f8eSopenharmony_ci   * @since 9
14861847f8eSopenharmony_ci   */
14961847f8eSopenharmony_ci  /**
15061847f8eSopenharmony_ci   * Sets the custom title builder.
15161847f8eSopenharmony_ci   *
15261847f8eSopenharmony_ci   * @type { CustomBuilder }
15361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
15461847f8eSopenharmony_ci   * @crossplatform
15561847f8eSopenharmony_ci   * @since 10
15661847f8eSopenharmony_ci   */
15761847f8eSopenharmony_ci  /**
15861847f8eSopenharmony_ci   * Sets the custom title builder.
15961847f8eSopenharmony_ci   *
16061847f8eSopenharmony_ci   * @type { CustomBuilder }
16161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
16261847f8eSopenharmony_ci   * @crossplatform
16361847f8eSopenharmony_ci   * @atomicservice
16461847f8eSopenharmony_ci   * @since 11
16561847f8eSopenharmony_ci   */
16661847f8eSopenharmony_ci  builder: CustomBuilder;
16761847f8eSopenharmony_ci
16861847f8eSopenharmony_ci  /**
16961847f8eSopenharmony_ci   * Sets the custom title height.
17061847f8eSopenharmony_ci   *
17161847f8eSopenharmony_ci   * @type { TitleHeight | Length }
17261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
17361847f8eSopenharmony_ci   * @since 9
17461847f8eSopenharmony_ci   */
17561847f8eSopenharmony_ci  /**
17661847f8eSopenharmony_ci   * Sets the custom title height.
17761847f8eSopenharmony_ci   *
17861847f8eSopenharmony_ci   * @type { TitleHeight | Length }
17961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
18061847f8eSopenharmony_ci   * @crossplatform
18161847f8eSopenharmony_ci   * @since 10
18261847f8eSopenharmony_ci   */
18361847f8eSopenharmony_ci  /**
18461847f8eSopenharmony_ci   * Sets the custom title height.
18561847f8eSopenharmony_ci   *
18661847f8eSopenharmony_ci   * @type { TitleHeight | Length }
18761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
18861847f8eSopenharmony_ci   * @crossplatform
18961847f8eSopenharmony_ci   * @atomicservice
19061847f8eSopenharmony_ci   * @since 11
19161847f8eSopenharmony_ci   */
19261847f8eSopenharmony_ci  height: TitleHeight | Length;
19361847f8eSopenharmony_ci}
19461847f8eSopenharmony_ci
19561847f8eSopenharmony_ci/**
19661847f8eSopenharmony_ci * Types of system Transition.
19761847f8eSopenharmony_ci *
19861847f8eSopenharmony_ci * @enum { number }
19961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
20061847f8eSopenharmony_ci * @crossplatform
20161847f8eSopenharmony_ci * @atomicservice
20261847f8eSopenharmony_ci * @since 14
20361847f8eSopenharmony_ci */
20461847f8eSopenharmony_cideclare enum NavigationSystemTransitionType {
20561847f8eSopenharmony_ci  /**
20661847f8eSopenharmony_ci   * Default system transition.
20761847f8eSopenharmony_ci   *
20861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
20961847f8eSopenharmony_ci   * @crossplatform
21061847f8eSopenharmony_ci   * @atomicservice
21161847f8eSopenharmony_ci   * @since 14
21261847f8eSopenharmony_ci   */
21361847f8eSopenharmony_ci  DEFAULT = 0,
21461847f8eSopenharmony_ci  /**
21561847f8eSopenharmony_ci   * None system transition.
21661847f8eSopenharmony_ci   *
21761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
21861847f8eSopenharmony_ci   * @crossplatform
21961847f8eSopenharmony_ci   * @atomicservice
22061847f8eSopenharmony_ci   * @since 14
22161847f8eSopenharmony_ci   */
22261847f8eSopenharmony_ci  NONE = 1,
22361847f8eSopenharmony_ci  /**
22461847f8eSopenharmony_ci   * Configure only titlebar transition.
22561847f8eSopenharmony_ci   *
22661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
22761847f8eSopenharmony_ci   * @crossplatform
22861847f8eSopenharmony_ci   * @atomicservice
22961847f8eSopenharmony_ci   * @since 14
23061847f8eSopenharmony_ci   */
23161847f8eSopenharmony_ci  TITLE = 2,
23261847f8eSopenharmony_ci  /**
23361847f8eSopenharmony_ci   * Configure only content transition.
23461847f8eSopenharmony_ci   *
23561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
23661847f8eSopenharmony_ci   * @crossplatform
23761847f8eSopenharmony_ci   * @atomicservice
23861847f8eSopenharmony_ci   * @since 14
23961847f8eSopenharmony_ci   */
24061847f8eSopenharmony_ci  CONTENT = 3,
24161847f8eSopenharmony_ci}
24261847f8eSopenharmony_ci
24361847f8eSopenharmony_ci/**
24461847f8eSopenharmony_ci * NavDestination mode.
24561847f8eSopenharmony_ci *
24661847f8eSopenharmony_ci * @enum { number }
24761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
24861847f8eSopenharmony_ci * @crossplatform
24961847f8eSopenharmony_ci * @since 11
25061847f8eSopenharmony_ci */
25161847f8eSopenharmony_ci/**
25261847f8eSopenharmony_ci * NavDestination mode.
25361847f8eSopenharmony_ci *
25461847f8eSopenharmony_ci * @enum { number }
25561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
25661847f8eSopenharmony_ci * @crossplatform
25761847f8eSopenharmony_ci * @atomicservice
25861847f8eSopenharmony_ci * @since 12
25961847f8eSopenharmony_ci */
26061847f8eSopenharmony_cideclare enum NavDestinationMode {
26161847f8eSopenharmony_ci  /**
26261847f8eSopenharmony_ci   * Standard mode is default mode of NavDestination.
26361847f8eSopenharmony_ci   *
26461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
26561847f8eSopenharmony_ci   * @crossplatform
26661847f8eSopenharmony_ci   * @since 11
26761847f8eSopenharmony_ci   */
26861847f8eSopenharmony_ci  /**
26961847f8eSopenharmony_ci   * Standard mode is default mode of NavDestination.
27061847f8eSopenharmony_ci   *
27161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
27261847f8eSopenharmony_ci   * @crossplatform
27361847f8eSopenharmony_ci   * @atomicservice
27461847f8eSopenharmony_ci   * @since 12
27561847f8eSopenharmony_ci   */
27661847f8eSopenharmony_ci  STANDARD = 0,
27761847f8eSopenharmony_ci
27861847f8eSopenharmony_ci  /**
27961847f8eSopenharmony_ci   * Dialog mode is transparent by default and does not affect the life cycle of other NavDestination.
28061847f8eSopenharmony_ci   *
28161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
28261847f8eSopenharmony_ci   * @crossplatform
28361847f8eSopenharmony_ci   * @since 11
28461847f8eSopenharmony_ci   */
28561847f8eSopenharmony_ci  /**
28661847f8eSopenharmony_ci   * Dialog mode is transparent by default and does not affect the life cycle of other NavDestination.
28761847f8eSopenharmony_ci   *
28861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
28961847f8eSopenharmony_ci   * @crossplatform
29061847f8eSopenharmony_ci   * @atomicservice
29161847f8eSopenharmony_ci   * @since 12
29261847f8eSopenharmony_ci   */
29361847f8eSopenharmony_ci  DIALOG = 1,
29461847f8eSopenharmony_ci}
29561847f8eSopenharmony_ci
29661847f8eSopenharmony_ci/**
29761847f8eSopenharmony_ci * The construct function of NavDestination.
29861847f8eSopenharmony_ci *
29961847f8eSopenharmony_ci * @interface NavDestinationInterface
30061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
30161847f8eSopenharmony_ci * @since 9
30261847f8eSopenharmony_ci */
30361847f8eSopenharmony_ci/**
30461847f8eSopenharmony_ci * The construct function of NavDestination.
30561847f8eSopenharmony_ci *
30661847f8eSopenharmony_ci * @interface NavDestinationInterface
30761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
30861847f8eSopenharmony_ci * @crossplatform
30961847f8eSopenharmony_ci * @since 10
31061847f8eSopenharmony_ci */
31161847f8eSopenharmony_ci/**
31261847f8eSopenharmony_ci * The construct function of NavDestination.
31361847f8eSopenharmony_ci *
31461847f8eSopenharmony_ci * @interface NavDestinationInterface
31561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
31661847f8eSopenharmony_ci * @crossplatform
31761847f8eSopenharmony_ci * @atomicservice
31861847f8eSopenharmony_ci * @since 11
31961847f8eSopenharmony_ci */
32061847f8eSopenharmony_cideclare interface NavDestinationInterface {
32161847f8eSopenharmony_ci  /**
32261847f8eSopenharmony_ci   * Constructor.
32361847f8eSopenharmony_ci   *
32461847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
32561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
32661847f8eSopenharmony_ci   * @since 9
32761847f8eSopenharmony_ci   */
32861847f8eSopenharmony_ci  /**
32961847f8eSopenharmony_ci   * Constructor.
33061847f8eSopenharmony_ci   *
33161847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
33261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
33361847f8eSopenharmony_ci   * @crossplatform
33461847f8eSopenharmony_ci   * @since 10
33561847f8eSopenharmony_ci   */
33661847f8eSopenharmony_ci  /**
33761847f8eSopenharmony_ci   * Constructor.
33861847f8eSopenharmony_ci   *
33961847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
34061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
34161847f8eSopenharmony_ci   * @crossplatform
34261847f8eSopenharmony_ci   * @atomicservice
34361847f8eSopenharmony_ci   * @since 11
34461847f8eSopenharmony_ci   */
34561847f8eSopenharmony_ci  (): NavDestinationAttribute;
34661847f8eSopenharmony_ci}
34761847f8eSopenharmony_ci
34861847f8eSopenharmony_ci/**
34961847f8eSopenharmony_ci * Indicates configuration info of destination.
35061847f8eSopenharmony_ci *
35161847f8eSopenharmony_ci * @interface RouteMapConfig
35261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
35361847f8eSopenharmony_ci * @crossplatform
35461847f8eSopenharmony_ci * @atomicservice
35561847f8eSopenharmony_ci * @since 12
35661847f8eSopenharmony_ci */
35761847f8eSopenharmony_cideclare interface RouteMapConfig {
35861847f8eSopenharmony_ci  /**
35961847f8eSopenharmony_ci   * Get destination name.
36061847f8eSopenharmony_ci   *
36161847f8eSopenharmony_ci   * @type { string }
36261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
36361847f8eSopenharmony_ci   * @crossplatform
36461847f8eSopenharmony_ci   * @atomicservice
36561847f8eSopenharmony_ci   * @since 12
36661847f8eSopenharmony_ci   */
36761847f8eSopenharmony_ci  name: string;
36861847f8eSopenharmony_ci
36961847f8eSopenharmony_ci  /**
37061847f8eSopenharmony_ci   * Get destination builder file position
37161847f8eSopenharmony_ci   *
37261847f8eSopenharmony_ci   * @type { string }
37361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
37461847f8eSopenharmony_ci   * @crossplatform
37561847f8eSopenharmony_ci   * @atomicservice
37661847f8eSopenharmony_ci   * @since 12
37761847f8eSopenharmony_ci   */
37861847f8eSopenharmony_ci  pageSourceFile: string;
37961847f8eSopenharmony_ci
38061847f8eSopenharmony_ci  /**
38161847f8eSopenharmony_ci   * Indicate the custom data of current destination.
38261847f8eSopenharmony_ci   *
38361847f8eSopenharmony_ci   * @type { Object }
38461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
38561847f8eSopenharmony_ci   * @crossplatform
38661847f8eSopenharmony_ci   * @atomicservice
38761847f8eSopenharmony_ci   * @since 12
38861847f8eSopenharmony_ci   */
38961847f8eSopenharmony_ci  data: Object
39061847f8eSopenharmony_ci}
39161847f8eSopenharmony_ci
39261847f8eSopenharmony_ci/**
39361847f8eSopenharmony_ci * Indicates the context of NavDestination.
39461847f8eSopenharmony_ci *
39561847f8eSopenharmony_ci * @interface NavDestinationContext
39661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
39761847f8eSopenharmony_ci * @crossplatform
39861847f8eSopenharmony_ci * @atomicservice
39961847f8eSopenharmony_ci * @since 11
40061847f8eSopenharmony_ci */
40161847f8eSopenharmony_cideclare interface NavDestinationContext {
40261847f8eSopenharmony_ci  /**
40361847f8eSopenharmony_ci   * Get path info.
40461847f8eSopenharmony_ci   *
40561847f8eSopenharmony_ci   * @type { NavPathInfo }
40661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
40761847f8eSopenharmony_ci   * @crossplatform
40861847f8eSopenharmony_ci   * @atomicservice
40961847f8eSopenharmony_ci   * @since 11
41061847f8eSopenharmony_ci   */
41161847f8eSopenharmony_ci  pathInfo: NavPathInfo;
41261847f8eSopenharmony_ci
41361847f8eSopenharmony_ci  /**
41461847f8eSopenharmony_ci   * Get stack of the Navigation where the NavDestination is located.
41561847f8eSopenharmony_ci   *
41661847f8eSopenharmony_ci   * @type { NavPathStack }
41761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
41861847f8eSopenharmony_ci   * @crossplatform
41961847f8eSopenharmony_ci   * @atomicservice
42061847f8eSopenharmony_ci   * @since 11
42161847f8eSopenharmony_ci   */
42261847f8eSopenharmony_ci  pathStack: NavPathStack;
42361847f8eSopenharmony_ci
42461847f8eSopenharmony_ci  /**
42561847f8eSopenharmony_ci   * Get the unique id of NavDestination, which is different from common property id of Component.
42661847f8eSopenharmony_ci   *
42761847f8eSopenharmony_ci   * @type { ?string }
42861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
42961847f8eSopenharmony_ci   * @crossplatform
43061847f8eSopenharmony_ci   * @atomicservice
43161847f8eSopenharmony_ci   * @since 12
43261847f8eSopenharmony_ci   */
43361847f8eSopenharmony_ci  navDestinationId?: string;
43461847f8eSopenharmony_ci
43561847f8eSopenharmony_ci  /**
43661847f8eSopenharmony_ci   * Get configuration of current Destination in module.json
43761847f8eSopenharmony_ci   * 
43861847f8eSopenharmony_ci   * @returns {RouteMapConfig | undefined}
43961847f8eSopenharmony_ci   * 
44061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
44161847f8eSopenharmony_ci   * @crossplatform
44261847f8eSopenharmony_ci   * @atomicservice
44361847f8eSopenharmony_ci   * @since 12
44461847f8eSopenharmony_ci   */
44561847f8eSopenharmony_ci  getConfigInRouteMap(): RouteMapConfig | undefined;
44661847f8eSopenharmony_ci}
44761847f8eSopenharmony_ci
44861847f8eSopenharmony_ci/**
44961847f8eSopenharmony_ci * The attribute function of NavDestination
45061847f8eSopenharmony_ci *
45161847f8eSopenharmony_ci * @extends CommonMethod<NavDestinationAttribute>
45261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
45361847f8eSopenharmony_ci * @since 9
45461847f8eSopenharmony_ci */
45561847f8eSopenharmony_ci/**
45661847f8eSopenharmony_ci * The attribute function of NavDestination
45761847f8eSopenharmony_ci *
45861847f8eSopenharmony_ci * @extends CommonMethod<NavDestinationAttribute>
45961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
46061847f8eSopenharmony_ci * @crossplatform
46161847f8eSopenharmony_ci * @since 10
46261847f8eSopenharmony_ci */
46361847f8eSopenharmony_ci/**
46461847f8eSopenharmony_ci * The attribute function of NavDestination
46561847f8eSopenharmony_ci *
46661847f8eSopenharmony_ci * @extends CommonMethod<NavDestinationAttribute>
46761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
46861847f8eSopenharmony_ci * @crossplatform
46961847f8eSopenharmony_ci * @atomicservice
47061847f8eSopenharmony_ci * @since 11
47161847f8eSopenharmony_ci */
47261847f8eSopenharmony_cideclare class NavDestinationAttribute extends CommonMethod<NavDestinationAttribute> {
47361847f8eSopenharmony_ci  /**
47461847f8eSopenharmony_ci   * Navigation title bar
47561847f8eSopenharmony_ci   *
47661847f8eSopenharmony_ci   * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle } value
47761847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
47861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
47961847f8eSopenharmony_ci   * @since 9
48061847f8eSopenharmony_ci   */
48161847f8eSopenharmony_ci  /**
48261847f8eSopenharmony_ci   * Navigation title bar
48361847f8eSopenharmony_ci   *
48461847f8eSopenharmony_ci   * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle } value
48561847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
48661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
48761847f8eSopenharmony_ci   * @crossplatform
48861847f8eSopenharmony_ci   * @since 10
48961847f8eSopenharmony_ci   */
49061847f8eSopenharmony_ci  /**
49161847f8eSopenharmony_ci   * Navigation title bar
49261847f8eSopenharmony_ci   *
49361847f8eSopenharmony_ci   * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle } value
49461847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
49561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
49661847f8eSopenharmony_ci   * @crossplatform
49761847f8eSopenharmony_ci   * @atomicservice
49861847f8eSopenharmony_ci   * @since 11
49961847f8eSopenharmony_ci   */
50061847f8eSopenharmony_ci  /**
50161847f8eSopenharmony_ci   * NavDestination title bar
50261847f8eSopenharmony_ci   *
50361847f8eSopenharmony_ci   * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle } value
50461847f8eSopenharmony_ci   * @param { NavigationTitleOptions } [options] - Indicates the options of titlebar.
50561847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
50661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
50761847f8eSopenharmony_ci   * @crossplatform
50861847f8eSopenharmony_ci   * @atomicservice
50961847f8eSopenharmony_ci   * @since 12
51061847f8eSopenharmony_ci   */
51161847f8eSopenharmony_ci  /**
51261847f8eSopenharmony_ci   * NavDestination title bar
51361847f8eSopenharmony_ci   *
51461847f8eSopenharmony_ci   * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource } value
51561847f8eSopenharmony_ci   * @param { NavigationTitleOptions } [options] - Indicates the options of titlebar.
51661847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
51761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
51861847f8eSopenharmony_ci   * @crossplatform
51961847f8eSopenharmony_ci   * @atomicservice
52061847f8eSopenharmony_ci   * @since 13
52161847f8eSopenharmony_ci   */
52261847f8eSopenharmony_ci  title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource,
52361847f8eSopenharmony_ci        options?: NavigationTitleOptions): NavDestinationAttribute;
52461847f8eSopenharmony_ci
52561847f8eSopenharmony_ci  /**
52661847f8eSopenharmony_ci   * Hide navigation title bar
52761847f8eSopenharmony_ci   *
52861847f8eSopenharmony_ci   * @param { boolean } value
52961847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
53061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
53161847f8eSopenharmony_ci   * @since 9
53261847f8eSopenharmony_ci   */
53361847f8eSopenharmony_ci  /**
53461847f8eSopenharmony_ci   * Hide navigation title bar
53561847f8eSopenharmony_ci   *
53661847f8eSopenharmony_ci   * @param { boolean } value
53761847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
53861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
53961847f8eSopenharmony_ci   * @crossplatform
54061847f8eSopenharmony_ci   * @since 10
54161847f8eSopenharmony_ci   */
54261847f8eSopenharmony_ci  /**
54361847f8eSopenharmony_ci   * Hide navigation title bar
54461847f8eSopenharmony_ci   *
54561847f8eSopenharmony_ci   * @param { boolean } value
54661847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
54761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
54861847f8eSopenharmony_ci   * @crossplatform
54961847f8eSopenharmony_ci   * @atomicservice
55061847f8eSopenharmony_ci   * @since 11
55161847f8eSopenharmony_ci   */
55261847f8eSopenharmony_ci  hideTitleBar(value: boolean): NavDestinationAttribute;
55361847f8eSopenharmony_ci
55461847f8eSopenharmony_ci  /**
55561847f8eSopenharmony_ci   * Hide navigation title bar
55661847f8eSopenharmony_ci   *
55761847f8eSopenharmony_ci   * @param { boolean } hide
55861847f8eSopenharmony_ci   * @param { boolean } animated
55961847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
56061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
56161847f8eSopenharmony_ci   * @crossplatform
56261847f8eSopenharmony_ci   * @atomicservice
56361847f8eSopenharmony_ci   * @since 14
56461847f8eSopenharmony_ci   */
56561847f8eSopenharmony_ci  hideTitleBar(hide: boolean, animated: boolean): NavDestinationAttribute;
56661847f8eSopenharmony_ci
56761847f8eSopenharmony_ci  /**
56861847f8eSopenharmony_ci   * Invoked when the navDestination page is displayed.
56961847f8eSopenharmony_ci   *
57061847f8eSopenharmony_ci   * @param { function } callback - Indicates callback when the navDestination page is displayed.
57161847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
57261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
57361847f8eSopenharmony_ci   * @crossplatform
57461847f8eSopenharmony_ci   * @since 10
57561847f8eSopenharmony_ci   */
57661847f8eSopenharmony_ci  /**
57761847f8eSopenharmony_ci   * Invoked when the navDestination page is displayed.
57861847f8eSopenharmony_ci   *
57961847f8eSopenharmony_ci   * @param { function } callback - Indicates callback when the navDestination page is displayed.
58061847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
58161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
58261847f8eSopenharmony_ci   * @crossplatform
58361847f8eSopenharmony_ci   * @atomicservice
58461847f8eSopenharmony_ci   * @since 11
58561847f8eSopenharmony_ci   */
58661847f8eSopenharmony_ci  onShown(callback: () => void): NavDestinationAttribute;
58761847f8eSopenharmony_ci
58861847f8eSopenharmony_ci  /**
58961847f8eSopenharmony_ci   * Invoked when the navDestination is hidden.
59061847f8eSopenharmony_ci   *
59161847f8eSopenharmony_ci   * @param { function } callback - Indicates callback when the navDestination is hidden.
59261847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
59361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
59461847f8eSopenharmony_ci   * @crossplatform
59561847f8eSopenharmony_ci   * @since 10
59661847f8eSopenharmony_ci   */
59761847f8eSopenharmony_ci  /**
59861847f8eSopenharmony_ci   * Invoked when the navDestination is hidden.
59961847f8eSopenharmony_ci   *
60061847f8eSopenharmony_ci   * @param { function } callback - Indicates callback when the navDestination is hidden.
60161847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
60261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
60361847f8eSopenharmony_ci   * @crossplatform
60461847f8eSopenharmony_ci   * @atomicservice
60561847f8eSopenharmony_ci   * @since 11
60661847f8eSopenharmony_ci   */
60761847f8eSopenharmony_ci  onHidden(callback: () => void): NavDestinationAttribute;
60861847f8eSopenharmony_ci
60961847f8eSopenharmony_ci  /**
61061847f8eSopenharmony_ci   * Invoked when the backButton is pressed.
61161847f8eSopenharmony_ci   *
61261847f8eSopenharmony_ci   * @param { function } callback - Indicates callback when the backButton is pressed.
61361847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
61461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
61561847f8eSopenharmony_ci   * @crossplatform
61661847f8eSopenharmony_ci   * @since 10
61761847f8eSopenharmony_ci   */
61861847f8eSopenharmony_ci  /**
61961847f8eSopenharmony_ci   * Invoked when the backButton is pressed.
62061847f8eSopenharmony_ci   *
62161847f8eSopenharmony_ci   * @param { function } callback - Indicates callback when the backButton is pressed.
62261847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
62361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
62461847f8eSopenharmony_ci   * @crossplatform
62561847f8eSopenharmony_ci   * @atomicservice
62661847f8eSopenharmony_ci   * @since 11
62761847f8eSopenharmony_ci   */
62861847f8eSopenharmony_ci  onBackPressed(callback: () => boolean): NavDestinationAttribute;
62961847f8eSopenharmony_ci
63061847f8eSopenharmony_ci  /**
63161847f8eSopenharmony_ci   * Sets the different mode of NavDestination.
63261847f8eSopenharmony_ci   *
63361847f8eSopenharmony_ci   * @param { NavDestinationMode } value - NavDestinationMode
63461847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
63561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
63661847f8eSopenharmony_ci   * @crossplatform
63761847f8eSopenharmony_ci   * @since 11
63861847f8eSopenharmony_ci   */
63961847f8eSopenharmony_ci  /**
64061847f8eSopenharmony_ci   * Sets the different mode of NavDestination.
64161847f8eSopenharmony_ci   *
64261847f8eSopenharmony_ci   * @param { NavDestinationMode } value - NavDestinationMode
64361847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
64461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
64561847f8eSopenharmony_ci   * @crossplatform
64661847f8eSopenharmony_ci   * @atomicservice
64761847f8eSopenharmony_ci   * @since 12
64861847f8eSopenharmony_ci   */
64961847f8eSopenharmony_ci  mode(value: NavDestinationMode): NavDestinationAttribute;
65061847f8eSopenharmony_ci
65161847f8eSopenharmony_ci  /**
65261847f8eSopenharmony_ci   * Set back button icon.
65361847f8eSopenharmony_ci   *
65461847f8eSopenharmony_ci   * @param { ResourceStr | PixelMap } value - Indicates icon of back button.
65561847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
65661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
65761847f8eSopenharmony_ci   * @crossplatform
65861847f8eSopenharmony_ci   * @since 11
65961847f8eSopenharmony_ci   */
66061847f8eSopenharmony_ci  /**
66161847f8eSopenharmony_ci   * Set back button icon.
66261847f8eSopenharmony_ci   *
66361847f8eSopenharmony_ci   * @param { ResourceStr | PixelMap | SymbolGlyphModifier } value - Indicates icon of back button.
66461847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
66561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
66661847f8eSopenharmony_ci   * @crossplatform
66761847f8eSopenharmony_ci   * @atomicservice
66861847f8eSopenharmony_ci   * @since 12
66961847f8eSopenharmony_ci   */
67061847f8eSopenharmony_ci  backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): NavDestinationAttribute;
67161847f8eSopenharmony_ci  
67261847f8eSopenharmony_ci  /**
67361847f8eSopenharmony_ci   * NavDestination title bar's menus
67461847f8eSopenharmony_ci   *
67561847f8eSopenharmony_ci   * @param { Array<NavigationMenuItem> | CustomBuilder } value
67661847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
67761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
67861847f8eSopenharmony_ci   * @crossplatform
67961847f8eSopenharmony_ci   * @atomicservice
68061847f8eSopenharmony_ci   * @since 12
68161847f8eSopenharmony_ci   */
68261847f8eSopenharmony_ci  menus(value: Array<NavigationMenuItem> | CustomBuilder): NavDestinationAttribute;
68361847f8eSopenharmony_ci
68461847f8eSopenharmony_ci  /**
68561847f8eSopenharmony_ci    * Configure toolbar with default style parameter or custom parameter.
68661847f8eSopenharmony_ci    *
68761847f8eSopenharmony_ci    * @param { Array<ToolbarItem> | CustomBuilder } toolbarParam - Toolbar configuration parameters.
68861847f8eSopenharmony_ci    * @param { NavigationToolbarOptions } [options] - Indicates the options of toolbar.
68961847f8eSopenharmony_ci    * @returns { NavDestinationAttribute }
69061847f8eSopenharmony_ci    * @syscap SystemCapability.ArkUI.ArkUI.Full
69161847f8eSopenharmony_ci    * @crossplatform
69261847f8eSopenharmony_ci    * @atomicservice
69361847f8eSopenharmony_ci    * @since 14
69461847f8eSopenharmony_ci    */
69561847f8eSopenharmony_ci  toolbarConfiguration(toolbarParam: Array<ToolbarItem> | CustomBuilder, options?: NavigationToolbarOptions): NavDestinationAttribute;
69661847f8eSopenharmony_ci
69761847f8eSopenharmony_ci  /**
69861847f8eSopenharmony_ci   * Hide tool bar
69961847f8eSopenharmony_ci   *
70061847f8eSopenharmony_ci   * @param { boolean } hide
70161847f8eSopenharmony_ci   * @param { boolean } [animated]
70261847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
70361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
70461847f8eSopenharmony_ci   * @crossplatform
70561847f8eSopenharmony_ci   * @atomicservice
70661847f8eSopenharmony_ci   * @since 14
70761847f8eSopenharmony_ci   */
70861847f8eSopenharmony_ci  hideToolBar(hide: boolean, animated?: boolean): NavDestinationAttribute;
70961847f8eSopenharmony_ci
71061847f8eSopenharmony_ci  /**
71161847f8eSopenharmony_ci   * Invoked before sub-components of NavDestination are created.
71261847f8eSopenharmony_ci   *
71361847f8eSopenharmony_ci   * @param { import('../api/@ohos.base').Callback<NavDestinationContext> } callback
71461847f8eSopenharmony_ci   * - Indicates callback that invoked before sub-components of NavDestination are created.
71561847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
71661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
71761847f8eSopenharmony_ci   * @crossplatform
71861847f8eSopenharmony_ci   * @atomicservice
71961847f8eSopenharmony_ci   * @since 11
72061847f8eSopenharmony_ci   */
72161847f8eSopenharmony_ci  onReady(callback: import('../api/@ohos.base').Callback<NavDestinationContext>): NavDestinationAttribute;
72261847f8eSopenharmony_ci
72361847f8eSopenharmony_ci  /**
72461847f8eSopenharmony_ci   * Invoked before the navDestination is appeared.
72561847f8eSopenharmony_ci   *
72661847f8eSopenharmony_ci   * @param { Callback<void> } callback - Indicates callback before the navDestination is appeared.
72761847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
72861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
72961847f8eSopenharmony_ci   * @crossplatform
73061847f8eSopenharmony_ci   * @atomicservice
73161847f8eSopenharmony_ci   * @since 12
73261847f8eSopenharmony_ci   */
73361847f8eSopenharmony_ci  onWillAppear(callback: Callback<void>): NavDestinationAttribute;
73461847f8eSopenharmony_ci
73561847f8eSopenharmony_ci  /**
73661847f8eSopenharmony_ci   * Invoked before the navDestination is disappeared.
73761847f8eSopenharmony_ci   *
73861847f8eSopenharmony_ci   * @param { Callback<void> } callback - Indicates callback before the navDestination is disappeared.
73961847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
74061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
74161847f8eSopenharmony_ci   * @crossplatform
74261847f8eSopenharmony_ci   * @atomicservice
74361847f8eSopenharmony_ci   * @since 12
74461847f8eSopenharmony_ci   */
74561847f8eSopenharmony_ci  onWillDisappear(callback: Callback<void>): NavDestinationAttribute;
74661847f8eSopenharmony_ci
74761847f8eSopenharmony_ci  /**
74861847f8eSopenharmony_ci   * Invoked before the navDestination is displayed.
74961847f8eSopenharmony_ci   *
75061847f8eSopenharmony_ci   * @param { Callback<void> } callback - Indicates callback before the navDestination is displayed.
75161847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
75261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
75361847f8eSopenharmony_ci   * @crossplatform
75461847f8eSopenharmony_ci   * @atomicservice
75561847f8eSopenharmony_ci   * @since 12
75661847f8eSopenharmony_ci   */
75761847f8eSopenharmony_ci  onWillShow(callback: Callback<void>): NavDestinationAttribute;
75861847f8eSopenharmony_ci
75961847f8eSopenharmony_ci  /**
76061847f8eSopenharmony_ci   * Invoked before the navDestination is hidden.
76161847f8eSopenharmony_ci   *
76261847f8eSopenharmony_ci   * @param { Callback<void> } callback - Indicates callback before the navDestination is hidden.
76361847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
76461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
76561847f8eSopenharmony_ci   * @crossplatform
76661847f8eSopenharmony_ci   * @atomicservice
76761847f8eSopenharmony_ci   * @since 12
76861847f8eSopenharmony_ci   */
76961847f8eSopenharmony_ci  onWillHide(callback: Callback<void>): NavDestinationAttribute;
77061847f8eSopenharmony_ci
77161847f8eSopenharmony_ci  /**
77261847f8eSopenharmony_ci   * Set navDestination content expand types and edges.
77361847f8eSopenharmony_ci   *
77461847f8eSopenharmony_ci   * @param { Array<LayoutSafeAreaType> } [types] - Indicates the types of the safe area.
77561847f8eSopenharmony_ci   * @param { Array<LayoutSafeAreaEdge> } [edges] - Indicates the edges of the safe area.
77661847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
77761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
77861847f8eSopenharmony_ci   * @crossplatform
77961847f8eSopenharmony_ci   * @atomicservice
78061847f8eSopenharmony_ci   * @since 12
78161847f8eSopenharmony_ci   */
78261847f8eSopenharmony_ci  ignoreLayoutSafeArea(types?: Array<LayoutSafeAreaType>, edges?: Array<LayoutSafeAreaEdge>): NavDestinationAttribute;
78361847f8eSopenharmony_ci
78461847f8eSopenharmony_ci  /**
78561847f8eSopenharmony_ci   * Set the style of system bar
78661847f8eSopenharmony_ci   *
78761847f8eSopenharmony_ci   * @param { Optional<SystemBarStyle> } style - The properties of system bar
78861847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
78961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
79061847f8eSopenharmony_ci   * @atomicservice
79161847f8eSopenharmony_ci   * @since 12
79261847f8eSopenharmony_ci   */
79361847f8eSopenharmony_ci  systemBarStyle(style: Optional<SystemBarStyle>): NavDestinationAttribute;
79461847f8eSopenharmony_ci
79561847f8eSopenharmony_ci  /**
79661847f8eSopenharmony_ci   * Set the NavDestination can be restored after the application is terminated.
79761847f8eSopenharmony_ci   * To enable this attribute, recoverable and id of Navigation must be set.
79861847f8eSopenharmony_ci   *
79961847f8eSopenharmony_ci   * @param { boolean } recoverable - set navdestination can be recovered.
80061847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
80161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
80261847f8eSopenharmony_ci   * @since 13
80361847f8eSopenharmony_ci   */
80461847f8eSopenharmony_ci  recoverable(recoverable: Optional<boolean>): NavDestinationAttribute;
80561847f8eSopenharmony_ci
80661847f8eSopenharmony_ci  /**
80761847f8eSopenharmony_ci   * Configuration of system transition
80861847f8eSopenharmony_ci   *
80961847f8eSopenharmony_ci   * @param { NavigationSystemTransitionType } type - Types of system Transition
81061847f8eSopenharmony_ci   * @returns { NavDestinationAttribute }
81161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
81261847f8eSopenharmony_ci   * @crossplatform
81361847f8eSopenharmony_ci   * @atomicservice
81461847f8eSopenharmony_ci   * @since 14
81561847f8eSopenharmony_ci   */
81661847f8eSopenharmony_ci  systemTransition(type: NavigationSystemTransitionType): NavDestinationAttribute;
81761847f8eSopenharmony_ci}
81861847f8eSopenharmony_ci
81961847f8eSopenharmony_ci/**
82061847f8eSopenharmony_ci * Defines NavDestination Component.
82161847f8eSopenharmony_ci *
82261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
82361847f8eSopenharmony_ci * @since 9
82461847f8eSopenharmony_ci */
82561847f8eSopenharmony_ci/**
82661847f8eSopenharmony_ci * Defines NavDestination Component.
82761847f8eSopenharmony_ci *
82861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
82961847f8eSopenharmony_ci * @crossplatform
83061847f8eSopenharmony_ci * @since 10
83161847f8eSopenharmony_ci */
83261847f8eSopenharmony_ci/**
83361847f8eSopenharmony_ci * Defines NavDestination Component.
83461847f8eSopenharmony_ci *
83561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
83661847f8eSopenharmony_ci * @crossplatform
83761847f8eSopenharmony_ci * @atomicservice
83861847f8eSopenharmony_ci * @since 11
83961847f8eSopenharmony_ci */
84061847f8eSopenharmony_cideclare const NavDestination: NavDestinationInterface;
84161847f8eSopenharmony_ci
84261847f8eSopenharmony_ci/**
84361847f8eSopenharmony_ci * Defines NavDestination Component instance.
84461847f8eSopenharmony_ci *
84561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
84661847f8eSopenharmony_ci * @since 9
84761847f8eSopenharmony_ci */
84861847f8eSopenharmony_ci/**
84961847f8eSopenharmony_ci * Defines NavDestination Component instance.
85061847f8eSopenharmony_ci *
85161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
85261847f8eSopenharmony_ci * @crossplatform
85361847f8eSopenharmony_ci * @since 10
85461847f8eSopenharmony_ci */
85561847f8eSopenharmony_ci/**
85661847f8eSopenharmony_ci * Defines NavDestination Component instance.
85761847f8eSopenharmony_ci *
85861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
85961847f8eSopenharmony_ci * @crossplatform
86061847f8eSopenharmony_ci * @atomicservice
86161847f8eSopenharmony_ci * @since 11
86261847f8eSopenharmony_ci */
86361847f8eSopenharmony_cideclare const NavDestinationInstance: NavDestinationAttribute;
864