1 | import React from 'react';
|
2 | import type { ColorValue, ViewStyle } from 'react-native';
|
3 | import { Animated } from 'react-native';
|
4 | import type { InternalTheme, ThemeProp } from '../../types';
|
5 | export declare type AppbarModes = 'small' | 'medium' | 'large' | 'center-aligned';
|
6 | export declare const getAppbarBackgroundColor: (theme: InternalTheme, elevation: number, customBackground?: ColorValue, elevated?: boolean) => ColorValue;
|
7 | export declare const getAppbarColor: ({ color, isDark, isV3, }: BaseProps & {
|
8 | color: string;
|
9 | }) => string | undefined;
|
10 | export declare const getAppbarBorders: (style: Animated.Value | Animated.AnimatedInterpolation<string | number> | Animated.WithAnimatedObject<ViewStyle>) => Record<string, number>;
|
11 | declare type BaseProps = {
|
12 | isDark: boolean;
|
13 | isV3: boolean;
|
14 | };
|
15 | declare type RenderAppbarContentProps = BaseProps & {
|
16 | children: React.ReactNode;
|
17 | shouldCenterContent?: boolean;
|
18 | isV3: boolean;
|
19 | renderOnly?: (string | boolean)[];
|
20 | renderExcept?: string[];
|
21 | mode?: AppbarModes;
|
22 | theme?: ThemeProp;
|
23 | };
|
24 | export declare const DEFAULT_APPBAR_HEIGHT = 56;
|
25 | export declare const modeAppbarHeight: {
|
26 | small: number;
|
27 | medium: number;
|
28 | large: number;
|
29 | 'center-aligned': number;
|
30 | };
|
31 | export declare const modeTextVariant: {
|
32 | readonly small: "titleLarge";
|
33 | readonly medium: "headlineSmall";
|
34 | readonly large: "headlineMedium";
|
35 | readonly 'center-aligned': "titleLarge";
|
36 | };
|
37 | export declare const renderAppbarContent: ({ children, isDark, shouldCenterContent, isV3, renderOnly, renderExcept, mode, theme, }: RenderAppbarContentProps) => (string | number | Iterable<React.ReactNode> | React.ReactElement<unknown, string | React.JSXElementConstructor<any>>)[];
|
38 | export {};
|
39 |
|
\ | No newline at end of file |