1/* 2 * Copyright (c) 2022-2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * @file 18 * @kit ArkUI 19 */ 20 21/** 22 * Defines the navigation destination common title. 23 * 24 * @interface NavDestinationCommonTitle 25 * @syscap SystemCapability.ArkUI.ArkUI.Full 26 * @since 9 27 */ 28/** 29 * Defines the navigation destination common title. 30 * 31 * @interface NavDestinationCommonTitle 32 * @syscap SystemCapability.ArkUI.ArkUI.Full 33 * @crossplatform 34 * @since 10 35 */ 36/** 37 * Defines the navigation destination common title. 38 * 39 * @interface NavDestinationCommonTitle 40 * @syscap SystemCapability.ArkUI.ArkUI.Full 41 * @crossplatform 42 * @atomicservice 43 * @since 11 44 */ 45declare interface NavDestinationCommonTitle { 46 /** 47 * Sets the main title. 48 * 49 * @type { string } 50 * @syscap SystemCapability.ArkUI.ArkUI.Full 51 * @since 9 52 */ 53 /** 54 * Sets the main title. 55 * 56 * @type { string } 57 * @syscap SystemCapability.ArkUI.ArkUI.Full 58 * @crossplatform 59 * @since 10 60 */ 61 /** 62 * Sets the main title. 63 * 64 * @type { string } 65 * @syscap SystemCapability.ArkUI.ArkUI.Full 66 * @crossplatform 67 * @atomicservice 68 * @since 11 69 */ 70 /** 71 * Sets the main title. 72 * 73 * @type { string | Resource } 74 * @syscap SystemCapability.ArkUI.ArkUI.Full 75 * @crossplatform 76 * @atomicservice 77 * @since 13 78 */ 79 main: string | Resource; 80 81 /** 82 * Sets the sub title. 83 * 84 * @type { string } 85 * @syscap SystemCapability.ArkUI.ArkUI.Full 86 * @since 9 87 */ 88 /** 89 * Sets the sub title. 90 * 91 * @type { string } 92 * @syscap SystemCapability.ArkUI.ArkUI.Full 93 * @crossplatform 94 * @since 10 95 */ 96 /** 97 * Sets the sub title. 98 * 99 * @type { string } 100 * @syscap SystemCapability.ArkUI.ArkUI.Full 101 * @crossplatform 102 * @atomicservice 103 * @since 11 104 */ 105 /** 106 * Sets the sub title. 107 * 108 * @type { string | Resource } 109 * @syscap SystemCapability.ArkUI.ArkUI.Full 110 * @crossplatform 111 * @atomicservice 112 * @since 13 113 */ 114 sub: string | Resource; 115} 116 117/** 118 * Defines the navigation destination custom title. 119 * 120 * @interface NavDestinationCustomTitle 121 * @syscap SystemCapability.ArkUI.ArkUI.Full 122 * @since 9 123 */ 124/** 125 * Defines the navigation destination custom title. 126 * 127 * @interface NavDestinationCustomTitle 128 * @syscap SystemCapability.ArkUI.ArkUI.Full 129 * @crossplatform 130 * @since 10 131 */ 132/** 133 * Defines the navigation destination custom title. 134 * 135 * @interface NavDestinationCustomTitle 136 * @syscap SystemCapability.ArkUI.ArkUI.Full 137 * @crossplatform 138 * @atomicservice 139 * @since 11 140 */ 141declare interface NavDestinationCustomTitle { 142 /** 143 * Sets the custom title builder. 144 * 145 * @type { CustomBuilder } 146 * @syscap SystemCapability.ArkUI.ArkUI.Full 147 * @since 9 148 */ 149 /** 150 * Sets the custom title builder. 151 * 152 * @type { CustomBuilder } 153 * @syscap SystemCapability.ArkUI.ArkUI.Full 154 * @crossplatform 155 * @since 10 156 */ 157 /** 158 * Sets the custom title builder. 159 * 160 * @type { CustomBuilder } 161 * @syscap SystemCapability.ArkUI.ArkUI.Full 162 * @crossplatform 163 * @atomicservice 164 * @since 11 165 */ 166 builder: CustomBuilder; 167 168 /** 169 * Sets the custom title height. 170 * 171 * @type { TitleHeight | Length } 172 * @syscap SystemCapability.ArkUI.ArkUI.Full 173 * @since 9 174 */ 175 /** 176 * Sets the custom title height. 177 * 178 * @type { TitleHeight | Length } 179 * @syscap SystemCapability.ArkUI.ArkUI.Full 180 * @crossplatform 181 * @since 10 182 */ 183 /** 184 * Sets the custom title height. 185 * 186 * @type { TitleHeight | Length } 187 * @syscap SystemCapability.ArkUI.ArkUI.Full 188 * @crossplatform 189 * @atomicservice 190 * @since 11 191 */ 192 height: TitleHeight | Length; 193} 194 195/** 196 * Types of system Transition. 197 * 198 * @enum { number } 199 * @syscap SystemCapability.ArkUI.ArkUI.Full 200 * @crossplatform 201 * @atomicservice 202 * @since 14 203 */ 204declare enum NavigationSystemTransitionType { 205 /** 206 * Default system transition. 207 * 208 * @syscap SystemCapability.ArkUI.ArkUI.Full 209 * @crossplatform 210 * @atomicservice 211 * @since 14 212 */ 213 DEFAULT = 0, 214 /** 215 * None system transition. 216 * 217 * @syscap SystemCapability.ArkUI.ArkUI.Full 218 * @crossplatform 219 * @atomicservice 220 * @since 14 221 */ 222 NONE = 1, 223 /** 224 * Configure only titlebar transition. 225 * 226 * @syscap SystemCapability.ArkUI.ArkUI.Full 227 * @crossplatform 228 * @atomicservice 229 * @since 14 230 */ 231 TITLE = 2, 232 /** 233 * Configure only content transition. 234 * 235 * @syscap SystemCapability.ArkUI.ArkUI.Full 236 * @crossplatform 237 * @atomicservice 238 * @since 14 239 */ 240 CONTENT = 3, 241} 242 243/** 244 * NavDestination mode. 245 * 246 * @enum { number } 247 * @syscap SystemCapability.ArkUI.ArkUI.Full 248 * @crossplatform 249 * @since 11 250 */ 251/** 252 * NavDestination mode. 253 * 254 * @enum { number } 255 * @syscap SystemCapability.ArkUI.ArkUI.Full 256 * @crossplatform 257 * @atomicservice 258 * @since 12 259 */ 260declare enum NavDestinationMode { 261 /** 262 * Standard mode is default mode of NavDestination. 263 * 264 * @syscap SystemCapability.ArkUI.ArkUI.Full 265 * @crossplatform 266 * @since 11 267 */ 268 /** 269 * Standard mode is default mode of NavDestination. 270 * 271 * @syscap SystemCapability.ArkUI.ArkUI.Full 272 * @crossplatform 273 * @atomicservice 274 * @since 12 275 */ 276 STANDARD = 0, 277 278 /** 279 * Dialog mode is transparent by default and does not affect the life cycle of other NavDestination. 280 * 281 * @syscap SystemCapability.ArkUI.ArkUI.Full 282 * @crossplatform 283 * @since 11 284 */ 285 /** 286 * Dialog mode is transparent by default and does not affect the life cycle of other NavDestination. 287 * 288 * @syscap SystemCapability.ArkUI.ArkUI.Full 289 * @crossplatform 290 * @atomicservice 291 * @since 12 292 */ 293 DIALOG = 1, 294} 295 296/** 297 * The construct function of NavDestination. 298 * 299 * @interface NavDestinationInterface 300 * @syscap SystemCapability.ArkUI.ArkUI.Full 301 * @since 9 302 */ 303/** 304 * The construct function of NavDestination. 305 * 306 * @interface NavDestinationInterface 307 * @syscap SystemCapability.ArkUI.ArkUI.Full 308 * @crossplatform 309 * @since 10 310 */ 311/** 312 * The construct function of NavDestination. 313 * 314 * @interface NavDestinationInterface 315 * @syscap SystemCapability.ArkUI.ArkUI.Full 316 * @crossplatform 317 * @atomicservice 318 * @since 11 319 */ 320declare interface NavDestinationInterface { 321 /** 322 * Constructor. 323 * 324 * @returns { NavDestinationAttribute } 325 * @syscap SystemCapability.ArkUI.ArkUI.Full 326 * @since 9 327 */ 328 /** 329 * Constructor. 330 * 331 * @returns { NavDestinationAttribute } 332 * @syscap SystemCapability.ArkUI.ArkUI.Full 333 * @crossplatform 334 * @since 10 335 */ 336 /** 337 * Constructor. 338 * 339 * @returns { NavDestinationAttribute } 340 * @syscap SystemCapability.ArkUI.ArkUI.Full 341 * @crossplatform 342 * @atomicservice 343 * @since 11 344 */ 345 (): NavDestinationAttribute; 346} 347 348/** 349 * Indicates configuration info of destination. 350 * 351 * @interface RouteMapConfig 352 * @syscap SystemCapability.ArkUI.ArkUI.Full 353 * @crossplatform 354 * @atomicservice 355 * @since 12 356 */ 357declare interface RouteMapConfig { 358 /** 359 * Get destination name. 360 * 361 * @type { string } 362 * @syscap SystemCapability.ArkUI.ArkUI.Full 363 * @crossplatform 364 * @atomicservice 365 * @since 12 366 */ 367 name: string; 368 369 /** 370 * Get destination builder file position 371 * 372 * @type { string } 373 * @syscap SystemCapability.ArkUI.ArkUI.Full 374 * @crossplatform 375 * @atomicservice 376 * @since 12 377 */ 378 pageSourceFile: string; 379 380 /** 381 * Indicate the custom data of current destination. 382 * 383 * @type { Object } 384 * @syscap SystemCapability.ArkUI.ArkUI.Full 385 * @crossplatform 386 * @atomicservice 387 * @since 12 388 */ 389 data: Object 390} 391 392/** 393 * Indicates the context of NavDestination. 394 * 395 * @interface NavDestinationContext 396 * @syscap SystemCapability.ArkUI.ArkUI.Full 397 * @crossplatform 398 * @atomicservice 399 * @since 11 400 */ 401declare interface NavDestinationContext { 402 /** 403 * Get path info. 404 * 405 * @type { NavPathInfo } 406 * @syscap SystemCapability.ArkUI.ArkUI.Full 407 * @crossplatform 408 * @atomicservice 409 * @since 11 410 */ 411 pathInfo: NavPathInfo; 412 413 /** 414 * Get stack of the Navigation where the NavDestination is located. 415 * 416 * @type { NavPathStack } 417 * @syscap SystemCapability.ArkUI.ArkUI.Full 418 * @crossplatform 419 * @atomicservice 420 * @since 11 421 */ 422 pathStack: NavPathStack; 423 424 /** 425 * Get the unique id of NavDestination, which is different from common property id of Component. 426 * 427 * @type { ?string } 428 * @syscap SystemCapability.ArkUI.ArkUI.Full 429 * @crossplatform 430 * @atomicservice 431 * @since 12 432 */ 433 navDestinationId?: string; 434 435 /** 436 * Get configuration of current Destination in module.json 437 * 438 * @returns {RouteMapConfig | undefined} 439 * 440 * @syscap SystemCapability.ArkUI.ArkUI.Full 441 * @crossplatform 442 * @atomicservice 443 * @since 12 444 */ 445 getConfigInRouteMap(): RouteMapConfig | undefined; 446} 447 448/** 449 * The attribute function of NavDestination 450 * 451 * @extends CommonMethod<NavDestinationAttribute> 452 * @syscap SystemCapability.ArkUI.ArkUI.Full 453 * @since 9 454 */ 455/** 456 * The attribute function of NavDestination 457 * 458 * @extends CommonMethod<NavDestinationAttribute> 459 * @syscap SystemCapability.ArkUI.ArkUI.Full 460 * @crossplatform 461 * @since 10 462 */ 463/** 464 * The attribute function of NavDestination 465 * 466 * @extends CommonMethod<NavDestinationAttribute> 467 * @syscap SystemCapability.ArkUI.ArkUI.Full 468 * @crossplatform 469 * @atomicservice 470 * @since 11 471 */ 472declare class NavDestinationAttribute extends CommonMethod<NavDestinationAttribute> { 473 /** 474 * Navigation title bar 475 * 476 * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle } value 477 * @returns { NavDestinationAttribute } 478 * @syscap SystemCapability.ArkUI.ArkUI.Full 479 * @since 9 480 */ 481 /** 482 * Navigation title bar 483 * 484 * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle } value 485 * @returns { NavDestinationAttribute } 486 * @syscap SystemCapability.ArkUI.ArkUI.Full 487 * @crossplatform 488 * @since 10 489 */ 490 /** 491 * Navigation title bar 492 * 493 * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle } value 494 * @returns { NavDestinationAttribute } 495 * @syscap SystemCapability.ArkUI.ArkUI.Full 496 * @crossplatform 497 * @atomicservice 498 * @since 11 499 */ 500 /** 501 * NavDestination title bar 502 * 503 * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle } value 504 * @param { NavigationTitleOptions } [options] - Indicates the options of titlebar. 505 * @returns { NavDestinationAttribute } 506 * @syscap SystemCapability.ArkUI.ArkUI.Full 507 * @crossplatform 508 * @atomicservice 509 * @since 12 510 */ 511 /** 512 * NavDestination title bar 513 * 514 * @param { string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource } value 515 * @param { NavigationTitleOptions } [options] - Indicates the options of titlebar. 516 * @returns { NavDestinationAttribute } 517 * @syscap SystemCapability.ArkUI.ArkUI.Full 518 * @crossplatform 519 * @atomicservice 520 * @since 13 521 */ 522 title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, 523 options?: NavigationTitleOptions): NavDestinationAttribute; 524 525 /** 526 * Hide navigation title bar 527 * 528 * @param { boolean } value 529 * @returns { NavDestinationAttribute } 530 * @syscap SystemCapability.ArkUI.ArkUI.Full 531 * @since 9 532 */ 533 /** 534 * Hide navigation title bar 535 * 536 * @param { boolean } value 537 * @returns { NavDestinationAttribute } 538 * @syscap SystemCapability.ArkUI.ArkUI.Full 539 * @crossplatform 540 * @since 10 541 */ 542 /** 543 * Hide navigation title bar 544 * 545 * @param { boolean } value 546 * @returns { NavDestinationAttribute } 547 * @syscap SystemCapability.ArkUI.ArkUI.Full 548 * @crossplatform 549 * @atomicservice 550 * @since 11 551 */ 552 hideTitleBar(value: boolean): NavDestinationAttribute; 553 554 /** 555 * Hide navigation title bar 556 * 557 * @param { boolean } hide 558 * @param { boolean } animated 559 * @returns { NavDestinationAttribute } 560 * @syscap SystemCapability.ArkUI.ArkUI.Full 561 * @crossplatform 562 * @atomicservice 563 * @since 14 564 */ 565 hideTitleBar(hide: boolean, animated: boolean): NavDestinationAttribute; 566 567 /** 568 * Invoked when the navDestination page is displayed. 569 * 570 * @param { function } callback - Indicates callback when the navDestination page is displayed. 571 * @returns { NavDestinationAttribute } 572 * @syscap SystemCapability.ArkUI.ArkUI.Full 573 * @crossplatform 574 * @since 10 575 */ 576 /** 577 * Invoked when the navDestination page is displayed. 578 * 579 * @param { function } callback - Indicates callback when the navDestination page is displayed. 580 * @returns { NavDestinationAttribute } 581 * @syscap SystemCapability.ArkUI.ArkUI.Full 582 * @crossplatform 583 * @atomicservice 584 * @since 11 585 */ 586 onShown(callback: () => void): NavDestinationAttribute; 587 588 /** 589 * Invoked when the navDestination is hidden. 590 * 591 * @param { function } callback - Indicates callback when the navDestination is hidden. 592 * @returns { NavDestinationAttribute } 593 * @syscap SystemCapability.ArkUI.ArkUI.Full 594 * @crossplatform 595 * @since 10 596 */ 597 /** 598 * Invoked when the navDestination is hidden. 599 * 600 * @param { function } callback - Indicates callback when the navDestination is hidden. 601 * @returns { NavDestinationAttribute } 602 * @syscap SystemCapability.ArkUI.ArkUI.Full 603 * @crossplatform 604 * @atomicservice 605 * @since 11 606 */ 607 onHidden(callback: () => void): NavDestinationAttribute; 608 609 /** 610 * Invoked when the backButton is pressed. 611 * 612 * @param { function } callback - Indicates callback when the backButton is pressed. 613 * @returns { NavDestinationAttribute } 614 * @syscap SystemCapability.ArkUI.ArkUI.Full 615 * @crossplatform 616 * @since 10 617 */ 618 /** 619 * Invoked when the backButton is pressed. 620 * 621 * @param { function } callback - Indicates callback when the backButton is pressed. 622 * @returns { NavDestinationAttribute } 623 * @syscap SystemCapability.ArkUI.ArkUI.Full 624 * @crossplatform 625 * @atomicservice 626 * @since 11 627 */ 628 onBackPressed(callback: () => boolean): NavDestinationAttribute; 629 630 /** 631 * Sets the different mode of NavDestination. 632 * 633 * @param { NavDestinationMode } value - NavDestinationMode 634 * @returns { NavDestinationAttribute } 635 * @syscap SystemCapability.ArkUI.ArkUI.Full 636 * @crossplatform 637 * @since 11 638 */ 639 /** 640 * Sets the different mode of NavDestination. 641 * 642 * @param { NavDestinationMode } value - NavDestinationMode 643 * @returns { NavDestinationAttribute } 644 * @syscap SystemCapability.ArkUI.ArkUI.Full 645 * @crossplatform 646 * @atomicservice 647 * @since 12 648 */ 649 mode(value: NavDestinationMode): NavDestinationAttribute; 650 651 /** 652 * Set back button icon. 653 * 654 * @param { ResourceStr | PixelMap } value - Indicates icon of back button. 655 * @returns { NavDestinationAttribute } 656 * @syscap SystemCapability.ArkUI.ArkUI.Full 657 * @crossplatform 658 * @since 11 659 */ 660 /** 661 * Set back button icon. 662 * 663 * @param { ResourceStr | PixelMap | SymbolGlyphModifier } value - Indicates icon of back button. 664 * @returns { NavDestinationAttribute } 665 * @syscap SystemCapability.ArkUI.ArkUI.Full 666 * @crossplatform 667 * @atomicservice 668 * @since 12 669 */ 670 backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): NavDestinationAttribute; 671 672 /** 673 * NavDestination title bar's menus 674 * 675 * @param { Array<NavigationMenuItem> | CustomBuilder } value 676 * @returns { NavDestinationAttribute } 677 * @syscap SystemCapability.ArkUI.ArkUI.Full 678 * @crossplatform 679 * @atomicservice 680 * @since 12 681 */ 682 menus(value: Array<NavigationMenuItem> | CustomBuilder): NavDestinationAttribute; 683 684 /** 685 * Configure toolbar with default style parameter or custom parameter. 686 * 687 * @param { Array<ToolbarItem> | CustomBuilder } toolbarParam - Toolbar configuration parameters. 688 * @param { NavigationToolbarOptions } [options] - Indicates the options of toolbar. 689 * @returns { NavDestinationAttribute } 690 * @syscap SystemCapability.ArkUI.ArkUI.Full 691 * @crossplatform 692 * @atomicservice 693 * @since 14 694 */ 695 toolbarConfiguration(toolbarParam: Array<ToolbarItem> | CustomBuilder, options?: NavigationToolbarOptions): NavDestinationAttribute; 696 697 /** 698 * Hide tool bar 699 * 700 * @param { boolean } hide 701 * @param { boolean } [animated] 702 * @returns { NavDestinationAttribute } 703 * @syscap SystemCapability.ArkUI.ArkUI.Full 704 * @crossplatform 705 * @atomicservice 706 * @since 14 707 */ 708 hideToolBar(hide: boolean, animated?: boolean): NavDestinationAttribute; 709 710 /** 711 * Invoked before sub-components of NavDestination are created. 712 * 713 * @param { import('../api/@ohos.base').Callback<NavDestinationContext> } callback 714 * - Indicates callback that invoked before sub-components of NavDestination are created. 715 * @returns { NavDestinationAttribute } 716 * @syscap SystemCapability.ArkUI.ArkUI.Full 717 * @crossplatform 718 * @atomicservice 719 * @since 11 720 */ 721 onReady(callback: import('../api/@ohos.base').Callback<NavDestinationContext>): NavDestinationAttribute; 722 723 /** 724 * Invoked before the navDestination is appeared. 725 * 726 * @param { Callback<void> } callback - Indicates callback before the navDestination is appeared. 727 * @returns { NavDestinationAttribute } 728 * @syscap SystemCapability.ArkUI.ArkUI.Full 729 * @crossplatform 730 * @atomicservice 731 * @since 12 732 */ 733 onWillAppear(callback: Callback<void>): NavDestinationAttribute; 734 735 /** 736 * Invoked before the navDestination is disappeared. 737 * 738 * @param { Callback<void> } callback - Indicates callback before the navDestination is disappeared. 739 * @returns { NavDestinationAttribute } 740 * @syscap SystemCapability.ArkUI.ArkUI.Full 741 * @crossplatform 742 * @atomicservice 743 * @since 12 744 */ 745 onWillDisappear(callback: Callback<void>): NavDestinationAttribute; 746 747 /** 748 * Invoked before the navDestination is displayed. 749 * 750 * @param { Callback<void> } callback - Indicates callback before the navDestination is displayed. 751 * @returns { NavDestinationAttribute } 752 * @syscap SystemCapability.ArkUI.ArkUI.Full 753 * @crossplatform 754 * @atomicservice 755 * @since 12 756 */ 757 onWillShow(callback: Callback<void>): NavDestinationAttribute; 758 759 /** 760 * Invoked before the navDestination is hidden. 761 * 762 * @param { Callback<void> } callback - Indicates callback before the navDestination is hidden. 763 * @returns { NavDestinationAttribute } 764 * @syscap SystemCapability.ArkUI.ArkUI.Full 765 * @crossplatform 766 * @atomicservice 767 * @since 12 768 */ 769 onWillHide(callback: Callback<void>): NavDestinationAttribute; 770 771 /** 772 * Set navDestination content expand types and edges. 773 * 774 * @param { Array<LayoutSafeAreaType> } [types] - Indicates the types of the safe area. 775 * @param { Array<LayoutSafeAreaEdge> } [edges] - Indicates the edges of the safe area. 776 * @returns { NavDestinationAttribute } 777 * @syscap SystemCapability.ArkUI.ArkUI.Full 778 * @crossplatform 779 * @atomicservice 780 * @since 12 781 */ 782 ignoreLayoutSafeArea(types?: Array<LayoutSafeAreaType>, edges?: Array<LayoutSafeAreaEdge>): NavDestinationAttribute; 783 784 /** 785 * Set the style of system bar 786 * 787 * @param { Optional<SystemBarStyle> } style - The properties of system bar 788 * @returns { NavDestinationAttribute } 789 * @syscap SystemCapability.ArkUI.ArkUI.Full 790 * @atomicservice 791 * @since 12 792 */ 793 systemBarStyle(style: Optional<SystemBarStyle>): NavDestinationAttribute; 794 795 /** 796 * Set the NavDestination can be restored after the application is terminated. 797 * To enable this attribute, recoverable and id of Navigation must be set. 798 * 799 * @param { boolean } recoverable - set navdestination can be recovered. 800 * @returns { NavDestinationAttribute } 801 * @syscap SystemCapability.ArkUI.ArkUI.Full 802 * @since 13 803 */ 804 recoverable(recoverable: Optional<boolean>): NavDestinationAttribute; 805 806 /** 807 * Configuration of system transition 808 * 809 * @param { NavigationSystemTransitionType } type - Types of system Transition 810 * @returns { NavDestinationAttribute } 811 * @syscap SystemCapability.ArkUI.ArkUI.Full 812 * @crossplatform 813 * @atomicservice 814 * @since 14 815 */ 816 systemTransition(type: NavigationSystemTransitionType): NavDestinationAttribute; 817} 818 819/** 820 * Defines NavDestination Component. 821 * 822 * @syscap SystemCapability.ArkUI.ArkUI.Full 823 * @since 9 824 */ 825/** 826 * Defines NavDestination Component. 827 * 828 * @syscap SystemCapability.ArkUI.ArkUI.Full 829 * @crossplatform 830 * @since 10 831 */ 832/** 833 * Defines NavDestination Component. 834 * 835 * @syscap SystemCapability.ArkUI.ArkUI.Full 836 * @crossplatform 837 * @atomicservice 838 * @since 11 839 */ 840declare const NavDestination: NavDestinationInterface; 841 842/** 843 * Defines NavDestination Component instance. 844 * 845 * @syscap SystemCapability.ArkUI.ArkUI.Full 846 * @since 9 847 */ 848/** 849 * Defines NavDestination Component instance. 850 * 851 * @syscap SystemCapability.ArkUI.ArkUI.Full 852 * @crossplatform 853 * @since 10 854 */ 855/** 856 * Defines NavDestination Component instance. 857 * 858 * @syscap SystemCapability.ArkUI.ArkUI.Full 859 * @crossplatform 860 * @atomicservice 861 * @since 11 862 */ 863declare const NavDestinationInstance: NavDestinationAttribute; 864